File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -414,7 +414,7 @@ <h3>Output</h3>
414
414
max : 100 ,
415
415
value : 0
416
416
} ,
417
- onAfterSetValue : function ( rule , value ) {
417
+ valueSetter : function ( rule , value ) {
418
418
var input = rule . $el . find ( '.rule-value-container input' ) ;
419
419
input . slider ( 'setValue' , value ) ;
420
420
input . val ( value ) ; // don't know why I need it
@@ -624,7 +624,7 @@ <h3>Output</h3>
624
624
625
625
// set rules from SQL
626
626
$ ( '.set-sql' ) . on ( 'click' , function ( ) {
627
- $ ( '#builder' ) . queryBuilder ( 'setRulesFromSQL' , 'username NOT LIKE "Mistic%" OR price BETWEEN 100 OR 200 OR NOT (category IN(1, 2) AND rate <= 2 )' ) ;
627
+ $ ( '#builder' ) . queryBuilder ( 'setRulesFromSQL' , 'username NOT LIKE "Mistic%" OR price BETWEEN 100 OR 200 OR NOT (category IN(1, 2) AND rate <= 20 )' ) ;
628
628
} ) ;
629
629
630
630
// reset builder
You can’t perform that action at this time.
0 commit comments