Hi guys, I have a List Filter/Load that is working fine on a page. But when I go to another page with List Filter (e.g: Blog), then come back to the original page, the pagination no longer works, the empty state disappears, and the list count is incorrect (on first visit it shows 8, and on every other one it’s 5). I’m using Barba JS for this project, and before entering the page, I have this code added:
window.FinsweetAttributes ||= [];
window.FinsweetAttributes.destroy();
window.FinsweetAttributes.load("list");
Here is the demo link: Works | Zeit Media
Hey @lenonguyen!
Apologies for the delay! I have just checked your site and it seems to be working as expected. If I navigate to an item’s page and then back, I am always shown 8 items.
Are you still facing this issue on your end? Could you share which browser you are testing with?
Hi Luis, I couldn’t get it to work, so I’ve removed the Finsweet Filter on the work page and used custom code for that instead. Somehow, the Attribute is working fine when there is only 1 instance with the Barba JS setup, but the moment I add another one, the bug shows up.
Hey @lenonguyen, could you create a test page with the bug? I’ll take a look