summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/searchgroupnav.php2
-rw-r--r--lib/util.php2
2 files changed, 4 insertions, 0 deletions
diff --git a/lib/searchgroupnav.php b/lib/searchgroupnav.php
index 4ea226692..9fe3c2379 100644
--- a/lib/searchgroupnav.php
+++ b/lib/searchgroupnav.php
@@ -81,6 +81,8 @@ class SearchGroupNav extends Widget
_('Find people on this site'), $action_name == 'peoplesearch', 'nav_search_people');
$this->out->menuItem(common_local_url('noticesearch', $args), _('Notice'),
_('Find content of notices'), $action_name == 'noticesearch', 'nav_search_notice');
+ $this->out->menuItem(common_local_url('groupsearch', $args), _('Group'),
+ _('Find groups on this site'), $action_name == 'groupsearch', 'nav_search_notice');
$this->action->elementEnd('ul');
}
}
diff --git a/lib/util.php b/lib/util.php
index 0b5abfa48..4b77f7c19 100644
--- a/lib/util.php
+++ b/lib/util.php
@@ -823,6 +823,8 @@ function common_fancy_url($action, $args=null)
return common_path('settings/im');
case 'avatarsettings':
return common_path('settings/avatar');
+ case 'groupsearch':
+ return common_path('search/group' . (($args) ? ('?' . http_build_query($args)) : ''));
case 'peoplesearch':
return common_path('search/people' . (($args) ? ('?' . http_build_query($args)) : ''));
case 'noticesearch':