Skip to content

Commit

Permalink
Merge branch 'release_23.1' into release_23.2
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdbeek committed Mar 8, 2024
2 parents 7bb9b57 + a3c14ea commit 71741fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/galaxy/webapps/galaxy/services/datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -884,7 +884,7 @@ def _data(
# If stats were requested, return them.
if "stats" in kwargs:
if stats["data"]["max"] == 0:
return DataResult(dataset_type=indexer.dataset_type, data=None)
return DataResult(dataset_type=indexer.dataset_type, data=[])
else:
return stats

Expand Down

0 comments on commit 71741fc

Please sign in to comment.