Skip to content

Commit

Permalink
Clean whitespace errors
Browse files Browse the repository at this point in the history
  • Loading branch information
tobes committed Dec 11, 2012
1 parent 1636f4b commit 798004f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ckan/controllers/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ def pager_url(q=None, page=None):
for facet in c.search_facets.keys():
limit = int(request.params.get('_%s_limit' % facet, 10))
c.search_facets_limits[facet] = limit

# Facet titles
c.facet_titles = {'groups': _('Groups'),
'tags': _('Tags'),
Expand Down
8 changes: 4 additions & 4 deletions ckan/plugins/interfaces.py
Original file line number Diff line number Diff line change
Expand Up @@ -296,14 +296,14 @@ def after_search(self, search_results, search_params):
'''

return search_results

def update_facet_titles(self, facet_titles):
'''
Update the dictionary mapping facet names to facet titles.
Example: {'facet_name': 'The title of the facet'}
Called after the search operation was performed and
Called after the search operation was performed and
before the search page will be displayed.
The titles show up on the search page.
'''
Expand Down

0 comments on commit 798004f

Please sign in to comment.