Skip to content

Commit

Permalink
Fixed a bug where weird operators in search would break the bags.
Browse files Browse the repository at this point in the history
  • Loading branch information
Cidan committed Sep 4, 2024
1 parent 15414fa commit 22ead21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/search.lua
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ function search:EvaluateAST(node)
elseif operator == "<" then
return self:isLess(field, value)
else
error("Unknown operator: " .. operator)
return {}
end
end

Expand Down

0 comments on commit 22ead21

Please sign in to comment.