File tree Expand file tree Collapse file tree 1 file changed +13
-3
lines changed
Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -912,7 +912,12 @@ public Filter getFilter(){
912912 }
913913
914914 else if (a .equals (">" ) || b .equals (">" )){
915- op = ">=" ;
915+
916+ op = ">=" ; //add "=" (legacy: assumes params are from url)
917+ if (parseJson && json !=null ){
918+ if (json .has (key )) op = ">" ;
919+ }
920+
916921 if (b .equals (">" )){
917922 val = val .substring (1 ).trim ();
918923 }
@@ -922,7 +927,12 @@ else if (a.equals(">") || b.equals(">")){
922927 }
923928
924929 else if (a .equals ("<" ) || b .equals ("<" )){
925- op = "<=" ;
930+
931+ op = "<=" ; //add "=" (legacy: assumes params are from url)
932+ if (parseJson && json !=null ){
933+ if (json .has (key )) op = "<" ;
934+ }
935+
926936 if (b .equals ("<" )){
927937 val = val .substring (1 ).trim ();
928938 }
@@ -1285,7 +1295,7 @@ public void remove(String col){
12851295 items .remove (key );
12861296 }
12871297
1288-
1298+
12891299 /** Used to remove all the items from the filter
12901300 */
12911301 public void removeAll (){
You can’t perform that action at this time.
0 commit comments