Skip Navigation

[Gelöst] Remove Spinner when user changes a filter in parametric search?

This support ticket is created vor 6 Jahren, 2 Monaten. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Heute stehen keine Supporter zur Arbeit im Werkzeugsatz-Forum zur Verfügung. Sie können gern Tickets erstellen, die wir bearbeiten werden, sobald wir online sind. Vielen Dank für Ihr Verständnis.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

Dieses Thema enthält 4 Antworten, hat 2 Stimmen.

Zuletzt aktualisiert von timE vor 6 Jahren, 2 Monaten.

Assistiert von: Luo Yang.

Author
Artikel
#1093936

Hi,

I have a parametric search set to "AJAX results update when visitors click on the search button".
As it stands the spinner activates whenever a user changes a filter, even though the search results are not updated. It then activates again when the search button is clicked.

The preferred action is that the user can change a filter and the spinner will not be activated. But it will be activated when the search button is pressed.

Is there any documentation that you are following?
This support request from 2015 has the same problem.
https://toolset.com/forums/topic/how-to-remove-spinner-when-user-change-a-filter-in-parametric-search/
It says "We have registered your request as feature request to our internal system".

I was just wondering if this is still in the pipeline, and if not, is there any workaround you can think of.

I can see why it happens - there is an ajax operation going on when a filter is changed, to update the other filters to only show relevant info. But is there a distinction between the filter ajax op and the search button ajax op that means we can target the spinner only at the search button?

Thanks

#1094603

Hello,

In the latest version of Views plugin, it is using shortcode [wpv-filter-spinner] to display the parametric search Spinner, if you do not need it, you just need to edit your view, find and remove the shortcode [wpv-filter-spinner], see our document:

https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-filter-spinner

Will display a spinner attached to a container that can be used in custom overlays when automatically updating Views results on a custom search.

#1094653

Hi Lou

I know that you can remove it. What I'm asking is if I can change the spinner activity when I have "AJAX results update when visitors click on the search button" set. I'd expect to only see the spinner when I click the search button.

Right now the spinner activates on each filter change and on clicking the search button.
I want it to not activate on filter changes (because it makes no sense for the user) but to activate on clicking the search button.

Thanks
Tim

#1094732

Dear Tim,

Please edit your view, in section "Custom Search Settings", choose option "Let me choose individual settings manually", you should be able to see the option "Show only available options for each input" is enabled, it will trigger the spinner too, in your case you need to change it to option "Always show all values for inputs", and test again.

#1094781

Thanks Luo,

It still doesn't do what I want but I think it's just not possible right now.