From d9f2b0ef48c3fb2d176e79dd3bca9b4d3a18c85d Mon Sep 17 00:00:00 2001 From: Jonathan S Berry Date: Thu, 19 Dec 2024 11:44:25 +0000 Subject: [PATCH] Remove reference to params() --- ckanext/dms/helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ckanext/dms/helpers.py b/ckanext/dms/helpers.py index 39de185..28e1999 100644 --- a/ckanext/dms/helpers.py +++ b/ckanext/dms/helpers.py @@ -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: