I've set it up so that it filters on load for the past two years (2021, 2020), but when one applies any of the other filters after that, these filters turn off. This only happens on load because if I select 2021 & 2020 again manually, additional filters are applied without turning off others. I'm using bootstrap so I had to do a workaround with the "active" class state.
var containerEl = document.querySelector('.container');
Love Mixitup, but I'm having a problem finishing my solution
https://www.thefilmcollaborative.org/films/index_new4
I've set it up so that it filters on load for the past two years (2021, 2020), but when one applies any of the other filters after that, these filters turn off. This only happens on load because if I select 2021 & 2020 again manually, additional filters are applied without turning off others. I'm using bootstrap so I had to do a workaround with the "active" class state.
var containerEl = document.querySelector('.container');
Thanks,
David