Skip to content

Commit

Permalink
Merge pull request #212 from kata-csc/kata-csc-fix-group-numbers
Browse files Browse the repository at this point in the history
Have groups per page as 21 or as 7x3 grid.
  • Loading branch information
johnmartin committed Dec 18, 2012
2 parents 94bf606 + 0080777 commit 4851d2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckan/controllers/group.py
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

1 comment on commit 4851d2d

@amercader
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@johnmartin A bit of public shaming for breaking the tests :suspect:
Fixed on 62b33b1 :)

Please sign in to comment.