Fiddle: https://jsfiddle.net/1ahygf6n/
using select2 and matcher i've built some filters (see filters button), i wanna combine multiple filters together.
Example:
Seperate filters work fine:
Shows all items that meet my 'is:autorifle' filter:
- is:autorifle
Shows all items that meet the 'energy:void' filter:
- energy:void
what i wanna achieve is combined filters, so i want to enter
is:autorifle energy:void
And make that show me all items that meet both autorifle and void filters.
Dropdown starts here: https://github.com/darkelement1987/rollfinder/blob/main/index.php#L53
JS starts here: https://github.com/darkelement1987/rollfinder/blob/main/index.php#L414
source https://stackoverflow.com/questions/68200214/how-to-make-select2-filter-multiple-matches-php-js
Comments
Post a Comment