From 4af9dfa36d303344674ffd5dd163a5688eaa69eb Mon Sep 17 00:00:00 2001 From: Michael Price Date: Thu, 1 Mar 2018 23:53:09 -0400 Subject: [PATCH] Don't use document_list which is not paginated. Use object_list instead which is paginated. Signed-off-by: Michael Price --- .../cabinets/templates/cabinets/cabinet_details.html | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/mayan/apps/cabinets/templates/cabinets/cabinet_details.html b/mayan/apps/cabinets/templates/cabinets/cabinet_details.html index 13885bd24d..256b46835b 100644 --- a/mayan/apps/cabinets/templates/cabinets/cabinet_details.html +++ b/mayan/apps/cabinets/templates/cabinets/cabinet_details.html @@ -23,13 +23,11 @@
- {% with document_list as object_list %} - {% if list_as_items %} - {% include 'appearance/generic_list_items_subtemplate.html' %} - {% else %} - {% include 'appearance/generic_list_subtemplate.html' %} - {% endif %} - {% endwith %} + {% if list_as_items %} + {% include 'appearance/generic_list_items_subtemplate.html' %} + {% else %} + {% include 'appearance/generic_list_subtemplate.html' %} + {% endif %}
{% endblock %}