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()