Skip to content

Commit

Permalink
Remove reference to params()
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathansberry committed Dec 19, 2024
1 parent 1c951d3 commit d9f2b0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckanext/dms/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def get_facet_items_dict(
for facet_item in search_facets.get(facet)['items']:
if not len(facet_item['name'].strip()):
continue
params_items = request.params.items(multi=True)
params_items = request.args.items(multi=True)
if not (facet, facet_item['name']) in params_items:
facets.append(dict(active=False, **facet_item))
elif not exclude_active:
Expand Down

0 comments on commit d9f2b0e

Please sign in to comment.