From 08ee07e65209a3f6c0b7756f4ec85f71a22afcda Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Sun, 7 Jul 2019 00:37:47 -0400 Subject: [PATCH] Remove duplicated trashed document previews Side effect of source column inheritance added in 06c3ef658368d5cf6d5a776adaaa95a71035fd74. Signed-off-by: Roberto Rosario --- mayan/apps/documents/apps.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/mayan/apps/documents/apps.py b/mayan/apps/documents/apps.py index 5e8639c466..0b83d72ce4 100644 --- a/mayan/apps/documents/apps.py +++ b/mayan/apps/documents/apps.py @@ -310,14 +310,6 @@ class DocumentsApp(MayanAppConfig): attribute='label', is_identifier=True, is_sortable=True, source=DeletedDocument ) - SourceColumn( - func=lambda context: document_page_thumbnail_widget.render( - instance=context['object'] - ), label=_('Thumbnail'), source=DeletedDocument - ) - SourceColumn( - attribute='document_type', is_sortable=True, source=DeletedDocument - ) SourceColumn( attribute='deleted_date_time', source=DeletedDocument )