Skip to content

Commit

Permalink
fix file size search, re #11179, #11180
Browse files Browse the repository at this point in the history
  • Loading branch information
apeters committed Aug 19, 2024
1 parent f2c4faf commit 3d03692
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arches/app/datatypes/datatypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -1323,7 +1323,7 @@ def append_search_filters(self, value, node, query, request):
elif value["val"] != "":
if value["op"] == "gte" or value["op"] == "lte":
operators = {"gte": None, "lte": None, "lt": None, "gt": None}
operators[value["op"]] = float(value["val"]) * 1000
operators[value["op"]] = float(value["val"]) * 1000000
search_query = Range(
field="tiles.data.%s.size" % (str(node.pk)), **operators
)
Expand Down

0 comments on commit 3d03692

Please sign in to comment.