nl_tokens: Filters out table data where any property value equals a matching property value on an advanced filter unless the advanced filter has been checked .
pl_tokens: function ( data , filters ) { return _ . filter ( _ . <mask> ( data , function ( item ) { var shown = true ; _ . each ( filters , function ( filter ) { if ( item [ filter . dataProperty ] === filter . filterValue ) { if ( filter . checked ) { item = _ . cloneDeep ( item ) ; //Clone this item since we're going to modify it if ( ! item . shownByAdvancedFilters ) { item . shownByAdvancedFilters = [ ] ; } item . shownByAdvancedFilters . push ( filter . dataProperty ) ; shown = true ; } else if ( ! item . shownByAdvancedFilters ) { shown = false ; } } } ) ; if ( shown ) { return item ; } } ) ) ; }