From 9043291b8d6ed9e8a40045d85b78309dd0de45cd Mon Sep 17 00:00:00 2001 From: Michael Price Date: Thu, 1 Mar 2018 23:54:03 -0400 Subject: [PATCH] Don't put the raw document queryset in the template context. It is not needed anymore. Signed-off-by: Michael Price --- mayan/apps/cabinets/views.py | 1 - 1 file changed, 1 deletion(-) diff --git a/mayan/apps/cabinets/views.py b/mayan/apps/cabinets/views.py index 534f7bed1b..94e7e544f6 100644 --- a/mayan/apps/cabinets/views.py +++ b/mayan/apps/cabinets/views.py @@ -105,7 +105,6 @@ class CabinetDetailView(DocumentListView): 'jstree_data': '\n'.join( jstree_data(node=cabinet.get_root(), selected_node=cabinet) ), - 'document_list': self.get_document_queryset(), 'hide_links': True, 'list_as_items': True, 'object': cabinet,