Permalink
Browse files

don't search repositories by default

  • Loading branch information...
1 parent d7107ea commit b75208b60928e7562d7243fd49c14c4d8393a11d @ejucovy ejucovy committed Jan 15, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 multireposearch/search.py
@@ -84,7 +84,7 @@ def get_permission_actions(self):
# ISearchSource methods
def get_search_filters(self, req):
if req.perm.has_permission('REPO_SEARCH'):
- yield ('repo', 'Source Repository', 1)
+ yield ('repo', 'Source Repository', 0)
def get_search_results(self, req, query, filters):
if 'repo' not in filters:

0 comments on commit b75208b

Please sign in to comment.