Skip to content
Snippets Groups Projects
Commit 66b3fa42 authored by Hervé  MENAGER's avatar Hervé MENAGER
Browse files

adjust the number of entries displayed in compounds list

12 was fine for the grid-based display


Former-commit-id: 6a3ea1db0902e6ddb4416e90fe9b4831724f5f08
parent 3c9cdfc7
No related branches found
No related tags found
No related merge requests found
......@@ -186,7 +186,7 @@ def compound_list(request):
context['compounds'] = context['compounds'].order_by(sort_by)
context['compounds'] = context['compounds'].distinct()
# handle pagination in compounds list
paginator = Paginator(context['compounds'], 12)
paginator = Paginator(context['compounds'], 15)
page = request.GET.get('page')
try:
context['compounds'] = paginator.page(page)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment