From 66b3fa42ecc42d7e095ed9a31baac1f9d8bee817 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Herv=C3=A9=20=20MENAGER?= <herve.menager@pasteur.fr>
Date: Fri, 20 Jul 2018 11:50:50 +0200
Subject: [PATCH] adjust the number of entries displayed in compounds list

12 was fine for the grid-based display


Former-commit-id: 6a3ea1db0902e6ddb4416e90fe9b4831724f5f08
---
 ippisite/ippidb/views.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ippisite/ippidb/views.py b/ippisite/ippidb/views.py
index d5520367..7da5396c 100644
--- a/ippisite/ippidb/views.py
+++ b/ippisite/ippidb/views.py
@@ -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)
-- 
GitLab