Skip to content

Commit

Permalink
Fix issue with object id queries
Browse files Browse the repository at this point in the history
This resolves an issue where filtering for object ids using the objectIds query parameter with a layer definition applied that also filters for object ids doesn't return the expected results.
  • Loading branch information
Jake13f authored Aug 12, 2024
1 parent e665549 commit 41452c3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const timestampWithoutZoneRegex = /^\d{4}-\d{2}-\d{2} {0,1}\d{0,2}:{0,1}\d{0,2}:
const fieldFirstObjectIdPredicateRegex =
/(properties|attributes)->`OBJECTID` (=|<|>|<=|>=) ([0-9]+)/g;

const objectidInPredicateRegex = /(properties|attributes)->`OBJECTID` (IN) \((.+)\)/g;
const objectidInPredicateRegex = /(properties|attributes)->`OBJECTID` (IN) \(([0-9,\s]+)\)/g;

// RegExp for value-first predicate, e.g "1234 = properties->`OBJECTID`""
const valueFirstObjectIdPredicateRegex =
Expand Down

0 comments on commit 41452c3

Please sign in to comment.