metafizzy / isotope

:revolving_hearts: Filter & sort magical layouts
https://isotope.metafizzy.co
11.03k stars 1.42k forks source link

Isotope Combination filters Dropdown #1669

Open benbelek opened 2 weeks ago

benbelek commented 2 weeks ago

Hello,

I've got an issue with isotope metafizzy filters combination.

I'm building a line-up for concerts and meetings. And for example i have a band that plays in London on Wednesday and in Washington on friday.

When I select Town : London / Date : Friday

It also shows me the band in concert in Washington on Friday

Thanks for your help.

Test case : https://jsfiddle.net/9st56qhd/1/

thesublimeobject commented 1 week ago

@benbelek — your selector is technically working correctly. the classes on that include concert washington london wednesday friday and your filter selector is .london.friday. so this card is correctly selected since it passes the filter. in order to not select that card you would have to use some other kind of class combination logic; perhaps something that uses, for example, .london.friday:not(.washington). this may not be the best option, but i just wanted to provide a potential example.