mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-09 11:12:52 +00:00
feat: add support for range filters
This commit is contained in:
committed by
Rainer Killinger
parent
dcf7906f79
commit
dc169746e7
@@ -276,7 +276,7 @@ describe('Query', function () {
|
||||
limit: out,
|
||||
}
|
||||
// @ts-ignore implicit any
|
||||
expectedFilter.range.price[`${location === 'upperBound' ? 'g' : 'l'}${bound === 'inclusive' ? 'te' : 't'}`] = out;
|
||||
expectedFilter.range.price[`${location === 'lowerBound' ? 'g' : 'l'}${bound === 'inclusive' ? 'te' : 't'}`] = out;
|
||||
}
|
||||
}
|
||||
setBound('upperBound', upperMode);
|
||||
@@ -328,7 +328,7 @@ describe('Query', function () {
|
||||
limit: out,
|
||||
}
|
||||
// @ts-ignore implicit any
|
||||
expectedFilter.range.price[`${location === 'upperBound' ? 'g' : 'l'}${bound === 'inclusive' ? 'te' : 't'}`] = out;
|
||||
expectedFilter.range.price[`${location === 'lowerBound' ? 'g' : 'l'}${bound === 'inclusive' ? 'te' : 't'}`] = out;
|
||||
}
|
||||
}
|
||||
setBound('upperBound', upperMode);
|
||||
|
||||
Reference in New Issue
Block a user