tochoromero / aurelia-table

Simple functional data table for Aurelia
https://tochoromero.github.com/aurelia-table
MIT License
67 stars 25 forks source link

Using multible custom filters #75

Open SirMossi opened 4 years ago

SirMossi commented 4 years ago

Hello,

I'm looking for a way to link several custom filters together. Currently only the last filter on the whole result is executed and the filter that was set first is ignored. My idea was to access the filters[x].value from the custom filter methods, but that doesn't work, because the variable filters is always undefined. Apparently I'm in a different scope here. What else is there for a possibility? Does anyone have an example of how to do this?