diff --git a/rhodecode/apps/search/views.py b/rhodecode/apps/search/views.py
--- a/rhodecode/apps/search/views.py
+++ b/rhodecode/apps/search/views.py
@@ -123,7 +123,7 @@ class SearchView(BaseAppView):
class SearchRepoView(RepoAppView):
def load_default_context(self):
c = self._get_local_tmpl_context()
-
+ c.active = 'search'
return c
@LoginRequired()
diff --git a/rhodecode/templates/base/base.mako b/rhodecode/templates/base/base.mako
--- a/rhodecode/templates/base/base.mako
+++ b/rhodecode/templates/base/base.mako
@@ -231,6 +231,8 @@
+
+
## TODO: anderson: ideally it would have a function on the scm_instance "enable_pullrequest() and enable_fork()"
%if c.rhodecode_db_repo.repo_type in ['git','hg']:
@@ -242,6 +244,7 @@
%endif
+
%endif
- ${_('Search')}
-
%if h.HasRepoPermissionAny('repository.write','repository.admin')(c.repo_name) and c.rhodecode_db_repo.enable_locking:
%if c.rhodecode_db_repo.locked[0]:
${_('Unlock')}
diff --git a/rhodecode/templates/search/search.mako b/rhodecode/templates/search/search.mako
--- a/rhodecode/templates/search/search.mako
+++ b/rhodecode/templates/search/search.mako
@@ -31,7 +31,7 @@
<%def name="menu_bar_subnav()">
%if c.repo_name:
- ${self.repo_menu(active='options')}
+ ${self.repo_menu(active='search')}
%endif
%def>