Skip to content

Commit

Permalink
Merge pull request #689 from laemtl/fix-dataset-cbrain-filter
Browse files Browse the repository at this point in the history
Fix datasets cBrain filter
  • Loading branch information
GHPBZ authored Oct 11, 2024
2 parents cd89277 + 0faad9f commit b1687e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/search/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ def dataset_search():

if request.args.get('cbrain'):
elements = list(
filter(lambda e: e['cbrain_id'] != '', elements)
filter(lambda e: e['cbrain_id'], elements)
)

cursor = None
Expand Down

0 comments on commit b1687e6

Please sign in to comment.