Skip to content

Commit

Permalink
App Toolbox: Export Denkmalliste auch via Denkmalbereiche
Browse files Browse the repository at this point in the history
  • Loading branch information
gdmhrogut committed Oct 18, 2023
1 parent 45beea3 commit 62770fc
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions toolbox/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 62770fc

Please sign in to comment.