Skip to content

Commit

Permalink
don't search repositories by default
Browse files Browse the repository at this point in the history
  • Loading branch information
ejucovy committed Jan 15, 2013
1 parent d7107ea commit b75208b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion multireposearch/search.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit b75208b

Please sign in to comment.