From 62770fc88dfa8a78cf95a98a9a544971a4d5898b Mon Sep 17 00:00:00 2001 From: Sebastian Gutzeit Date: Wed, 18 Oct 2023 12:57:43 +0200 Subject: [PATCH] App Toolbox: Export Denkmalliste auch via Denkmalbereiche --- toolbox/views.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/toolbox/views.py b/toolbox/views.py index ef9f98a6..dee12cc0 100644 --- a/toolbox/views.py +++ b/toolbox/views.py @@ -250,10 +250,7 @@ def renderpdf(request): else: params = preparecontext(request) d, display_names = fetchdata(**params) - if ( - params['datenthema'].lower() == 'baudenkmale' - and params['suitable'].template.name == 'Denkmalliste' - ): + if params['suitable'].template.name == 'Denkmalliste': data = baudenkmalefull(params['pks'], onlyactive=True) else: data = dict()