@@ -187,10 +187,10 @@ <h3>{%title%}</h3>
187187 $ ( ".filters a.btn" ) . on ( 'click' , docFilter . select ) ;
188188 $ ( ".filters input" ) . on ( "keyup" , docFilter . updateInput ) ;
189189 // initialize the configurator to 'all' ('*') values
190- rulesEngine . selectConfigurationPropertyValue ( "category" , '*' , 1 ) ;
191- rulesEngine . selectConfigurationPropertyValue ( "tags" , '*' , 1 ) ;
192- rulesEngine . selectConfigurationPropertyValue ( "year" , '*' , 1 ) ;
193- rulesEngine . selectConfigurationPropertyValue ( "title" , '*' , 1 ) ;
190+ rulesEngine . selectConfigurationPropertyValue ( "category" , '*' ) ;
191+ rulesEngine . selectConfigurationPropertyValue ( "tags" , '*' ) ;
192+ rulesEngine . selectConfigurationPropertyValue ( "year" , '*' ) ;
193+ rulesEngine . selectConfigurationPropertyValue ( "title" , '*' ) ;
194194
195195 } ,
196196 select : function ( e ) {
@@ -211,9 +211,9 @@ <h3>{%title%}</h3>
211211 let year = $ ( this ) . attr ( 'data-year' ) ;
212212 // set the configuration for each property
213213 // reprocess the rules/documents to display/hide
214- if ( cat ) rulesEngine . selectConfigurationPropertyValue ( "category" , ( cat == 'all' ) ?'*' :cat , 1 ) ;
215- if ( tag ) rulesEngine . selectConfigurationPropertyValue ( "tags" , ( tag == 'all' ) ?'*' :tag , 1 ) ;
216- if ( year ) rulesEngine . selectConfigurationPropertyValue ( "year" , ( year == 'all' ) ?'*' :year , 1 ) ;
214+ if ( cat ) rulesEngine . selectConfigurationPropertyValue ( "category" , ( cat == 'all' ) ?'*' :cat ) ;
215+ if ( tag ) rulesEngine . selectConfigurationPropertyValue ( "tags" , ( tag == 'all' ) ?'*' :tag ) ;
216+ if ( year ) rulesEngine . selectConfigurationPropertyValue ( "year" , ( year == 'all' ) ?'*' :year ) ;
217217
218218// rulesEngine.runRulesEngine();
219219 } ,
0 commit comments