Skip to content

Commit

Permalink
[#2722] Add c.sort_by_selected to group read template
Browse files Browse the repository at this point in the history
  • Loading branch information
aron committed Aug 9, 2012
1 parent 1aa96de commit 8769233
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ckan/controllers/group.py
Expand Up @@ -220,6 +220,9 @@ def pager_url(q=None, page=None):
limit = int(request.params.get('_%s_limit' % facet, 10))
c.search_facets_limits[facet] = limit
c.page.items = query['results']

c.sort_by_selected = sort_by

except SearchError, se:
log.error('Group search error: %r', se.args)
c.query_error = True
Expand Down

0 comments on commit 8769233

Please sign in to comment.