How to apply search filters to nested product loops

I have a product loop inside a category loop.
I want to apply a search filter to all product loops, but in Bricks it only works for the last loop.

Has anyone solved this or found a workaround?
Any help would be appreciated! :blush:

Hi there,

Just for your information, query filters or any other Bricks native AJAX actions like Infinite scroll, AJAX pagination will not work if the target query is inside a nested loop.

I am not sure if there is a workaround for it. Maybe yes, but might need custom coding. Perhaps someone can share with you. Good luck.