implement > and < in acq search grid filters
authorGalen Charlton <gmc@equinoxinitiative.org>
Fri, 7 Feb 2020 15:06:27 +0000 (10:06 -0500)
committerGalen Charlton <gmc@equinoxinitiative.org>
Fri, 7 Feb 2020 15:06:27 +0000 (10:06 -0500)
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/eg2/src/app/staff/acq/search/acq-search.service.ts

index fa43f5e..aedaeb2 100644 (file)
@@ -69,10 +69,10 @@ const searchOptions = {
 
 const operatorMap = {
     '!=': '__not',
-    '>': '__gte',
+    '>': '__gt',
     '>=': '__gte',
     '<=': '__lte',
-    '<': '__lte',
+    '<': '__lt',
     'startswith': '__starts',
     'endswith': '__ends',
     'like': '__fuzzy',