Skip to content

Commit

Permalink
Merge pull request #126 from sabinem/repair-logic-package_showcase_list
Browse files Browse the repository at this point in the history
repair logic 'package_showcase_list'
  • Loading branch information
bellisk authored Nov 25, 2021
2 parents 05b4eab + 6c2776d commit 716220b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckanext/showcase/logic/action/get.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def package_showcase_list(context, data_dict):
for showcase_id in showcase_id_list:
id_list.append(showcase_id[0])
fq = 'dataset_type:showcase'
q = ' OR '.join(['id:{0}'.format(x) for x in id_list])
q = 'id:(' + ' OR '.join(['{0}'.format(x) for x in id_list]) + ')'
_showcase_list = toolkit.get_action('package_search')(
context,
{'q': q, 'fq': fq, 'rows': 100})
Expand Down

0 comments on commit 716220b

Please sign in to comment.