Skip to content

Commit

Permalink
Have groups per page as 21 or as 7x3 grid.
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksi Suomalainen committed Dec 14, 2012
1 parent b83207b commit 0080777
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckan/controllers/group.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def index(self):
collection=results,
page=request.params.get('page', 1),
url=h.pager_url,
items_per_page=20
items_per_page=21
)
return render(self._index_template(group_type))

Expand Down

0 comments on commit 0080777

Please sign in to comment.