SOLVED: Search Filter: doesn't reset scope correctly when using product archive template

Browser: Chrome 121.0.6167.160
OS: macOS /
URL: https://african-composers-edition.co.za/composers/michael-moerane/
Video: Understanding Michael Morane's Product Page 🎵 | Loom

This page is a product archive page, that shows all products related a specific attribute, called “composer”. This is uses the standard woocommerce url for a specific attribute for a composer.

I have the new “filter - search” component on this page. When you search for something, it correctly filters the product list. However, when you clear the search field, it incorrectly resets the query to show the entire product list, not the product list scoped to the “michael-moerane”.

If there is another filter on the page set to the product attribute “composers” and “Moerane” is selected there , removing the search term correctly resets the product list to only Moerane’s products.

It seems the filter isn’t honouring the query that happened at page load.

1 Like

Hi Zayne,
Thanks so much for your report!

The same problem also occurs when filtering categories. I have added your report to the existing task in our internal bug tracker.

Best regards,
timmse

2 Likes

Any news on this? It also happens in taxonomy archives in general.

Hi guys,

We’ve fixed this issue in Bricks 1.9.8 beta, now available as a manual download in your account (see changelog).

Please let us know if you are still experiencing issues.

As with any beta release, please do not use it on a production or live website. It is only meant for testing in a local or staging environment.

1 Like

Hello,

You say this issue is fixed but I opened another ticket a while ago regarding the same issue but for filters/pagination.

1.9.8 did not fix that one for me.

Can you please check if it also now works for the new filter elements?

Thanks.
Tudor.

Do you have an issue with all filters? Because for me the only filter that still had an issue was the radio button filter combined with other filters and that is supposed to have been fixed in 1.9.9

I wonder if anybody from the Bricks team read my issue carefully the first time or if I was unclear, although it was dismissed as being the same with this issue pretty fast.

I even provided this link to the website having the issue in my original report but did anyone check it?

I have a category archive on a news website that has three select filters on it for filtering by author, tag, or subcategory. Whenever I apply a filter via AJAX and then remove or change the filter the archive page stops working altogether and starts displaying posts from every single category on the website.

When I wrote about this issue I did so because I was starting to have the same issue with a pagination element on yet another website, so I realised it is not a server configuration problem or a localised one. So I wonder how are filters production ready in the following release if using them on archive pages breaks the archive?

Maybe I am doing something wrong, but I would really like some assistance since my archive works just fine before applying said filter, but stops working after setting any filter, so it’s not a problem with the configuration of the archive either.

Hi @blureogroup ,
The only person who replied to your report back then was @itchycode , who is part of the Bricks team.

If you send us access data, a link to this and the other thread, he will certainly be happy to take another look at your setup in detail.

Hello,

Sorry for the tone of my last reply. It was rather frustrating to find that my issue was dismissed so fast and it persists through updates that claim to solve it.

I’ll create a temp admin and share the credentials. Could you tell me what email address would be the one I should send them to?

Thanks in advance,
Tudor.

It’s help@bricksbuilder.io @blureogroup.
Please make sure to add a link to this and the other thread, using the email address you used during the purchase.

@blureogroup ,

Thanks for your login details. I can confirm there is still a bug for this query filter issue.
We are working on it now.

Regards,
Jenn

No problem,

Thanks for working on it! I signalled it again since I think filters are mainly used on archives. So I consider it very important that in order to launch them out of beta they should work on archives.

Let me know if you still need admin credentials or if I can disable the account.

Have a great day,
Tudor.

Hi guys,
We’ve fixed this issue in Bricks 1.9.9, now available as a one-click update in your WordPress Dashboard.

Changelog: Bricks 1.9.9 Changelog – Bricks

Please let us know if you are still experiencing issues.

Best regards,
timmse

2 Likes