Skip to content

Commit

Permalink
return data_source keyword instead of data_resource
Browse files Browse the repository at this point in the history
  • Loading branch information
khaledk2 committed Dec 3, 2024
1 parent ef83865 commit 74ac7f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion omero_search_engine/api/v1/resources/resource_analyser.py
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ def prepare_search_results_buckets(results_):
res = hit["_source"]
row["Key"] = res["Attribute"]
row["Value"] = res["Value"]
row["data_resource"] = res["data_source"]
row["data_source"] = res["data_source"]
resource = res.get("resource")
row["Number of %ss" % resource] = res.get("items_in_the_bucket")
total_number += res["items_in_the_bucket"]
Expand Down

0 comments on commit 74ac7f8

Please sign in to comment.