[ckan-dev] Number of items on group/org index page
Knud Möller
knud at datalysator.com
Thu Apr 19 10:24:32 UTC 2018
Hi,
the group and organization index pages show 21 items per page. This is set
hard in ckan.controllers.group.py:
def index(self):
…
items_per_page = 21
…
As far as I can see, there is no way to change this value other than to
change this code in CKAN core. Would it make sense to introduce a config
setting (e.g. “ckan.ui.group.items_per_page”) and change the code to
something like this:
items_per_page = config.get("ckan.ui.group.items_per_page", 21)
There might be other values that could benefit from configurability as well.
Cheers,
Knud
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20180419/ae05a88f/attachment-0002.html>
More information about the ckan-dev
mailing list