Skip Navigation

[Resolved] Name of URL-parameter from [wpv-filter-search-box] gets changed after filtering

This support ticket is created 4 years ago. 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.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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/Kolkata (GMT+05:30)

This topic contains 26 replies, has 2 voices.

Last updated by Paul 4 years ago.

Assisted by: Minesh.

Author
Posts
#1930307

I am trying to:

I want to use a text-filter ([wpv-filter-search-box]) on my view to filter on post-titles.

I expected to see:

After changing the text i expect to see the filtered view and the corresponding url in the browsers address-bar.

Instead, I got:

When i open te page with the view there are no url-params. OK
When i type 'text' in the filterfield and hit enter the view gets filtered and the url gets the param 'wpv-post-search=text'. OK
Immediately after that the page gets reloaded, gets the url-param 'wpv-post-s=text' (='search' replaced by 's') and the view isn't filtered anymore. Not OK

I've tested this with other filters and every time the filter-url-param has the string 'search' in it that part of the url is changed to 's'.
The position of this param doesn't matter, it is always changed to .....-s. If it doesn't have the substring 'search' in it than it goes well, but the problem is that the url-param of [wpv-filter-search-box] is fixed, so i can't change it.

All my views with text-filters now have this problem. This pages and views are not new and it worked before, so i think it has something to do with a recent update.

#1930585

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

That is really strange. I just checked with my test site and when I search for the title, it adds the URL param "wpv_post_search=text".

After checking to debug the information you shared with us, I found that you are using outdated Toolset plugins. We always recommend running your site with the latest stable release plugin version.

*** Please make a FULL BACKUP of your database and website.***
Could you please update ALL Toolset plugins to it's latest officially released version. You can download the latest plugin release from your accounts page:
=> https://toolset.com/account/downloads/

Once you update all Toolset plugins to latest veresion, Can you please check if it work as expected. If it does not work, Can you please send me problem URL where I can see the issue as well as admin access details.

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

\I have set the next reply to private which means only you and I have access to it.

#1931289

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

On the following page: hidden link

I tried to search with the keyword "acolon" and I can see the results:
- hidden link
- I can see the URL param 'wpv_post_search' rather what you mentioned 'wpv-post-s=text'

You have to keep in mind that when you have text search, you can not use the ajax filter as for the text search you will require to use the non-ajax mode.

#1931299

Hi Minesh,

When i click the url you sent it opens in the browser but the url-param 'wpv-post-search' is immediately changed to 'wpv-post-s' and the view won't show the right content.

#1931305

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

That is really strange.

Please check the following video: hidden link

As you can see what keyword I entered based on that I get the correct result.

#1931405

Whatever i try..., other browser, same user-account that i created for you, totally different device..., it keeps changing the url-param and won't show the filtered content.

This is very, very strange...

#1931409

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Yes - thats really strange.

The last thing I would like to check is based on the steps you follow. Can you please send me video so that I can see what steps you follow and later I will follow the same steps and see if I'm able to reproduce the issue by following the steps that you followed.

#1931477

Hi Minesh,

I could make a screencast of it, but i do exactly the same thing as you do..., open the page, type the searchstring in the filterfield and hit ENTER.

#1931481

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Then I'm not sure whats going on at your end. As I shared the video as a proof I do not able to see the issue that is why nothing much I can do here.

Can you please make sure you delete your browser history and cache etc..etc.. and then check if you able to see it working.

#1931483

I already did all those things, but without any result. If that was the problem than the ohter browsers and PC i checked shouldn't have given the problem either.

I really don't have a clue at the moment, but i will look further into it later on.
If i find the cause and solution i will let je know.

Thanks for all your help.

#1931493

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Thank you - sure. Please share the solution if found. As I do not able to see the issue I can not tell much here.

#1931595

One more question...

In my private message earlier i mentioned that the AJAX-pagination also didn't work. Can you please check if that's the same for you with this url: hidden link
When i switch pages by the pagination i get no content, only header and footer.

#1932673

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

As per our support policy, we entertain only one question per ticket and the pagination issue is totally different than the issue originally reported with this ticket.

I suggest we should first address your original issue to ensure that it will not have any side effect on pagination issue you are having. So, lets address the issue one by one.

#1932857

Hi Minesh,

The reason i asked is that maybe it could help me resolve the main issue as the problem with the pagination showed up together with the filterproblem. My request was not to solve it, but only to test it.

But no problem, i will look further into it.

#1932903

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

I tried to access the page to see the pagination issue: hidden link

But it redirect back me to home page. It seems you removed the page. Please let me know if you will require further help.