[Resolved] search is being lost during paging through the details even though the values ar
This support ticket is created 7 years, 3 months 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.
No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.
Tell us what you are trying to do? I have create a search panel for user list. Its basic at the moment but is working. I have pagination in place also. My problem is that when I filter the list and then page through it the search criteria is lost. This related to item: https://toolset.com/forums/topic/search-panel-for-user-view/
Is there any documentation that you are following?
Is this user list from the users list in going to the wordpress backend and clicking on Users? or is this users list generated from a custom post type.
Could you send me a link to the page where you have set this up ?
I understand why this does not work and it is as I suspect that searching through users is not possible or supporter as it states by this message here "Only Views listing posts can have custom search inputs."
So your search pretty much is not going to work. Why not allow users to create their profile as a CPT after a user has been created instead of trying to filter the user lists .
This would prove much more convenient as you will have the full capabilities of the parametric search.
Thanks for letting me know but as previously mentioned Parametric searches are not possible with our Views plugin. This means that pagination with keeping the parameter won't work. The pagination will work fine without the search since it will just be giving you the entire results.
It also states in the view that "Only Views listing posts can have custom search inputs."
Can you review and see if there are any other options. This is a really disappointing outcome and will mean that the solutions requires complete redesign.
So the option here is that you can manually add the query filters to your view and manually create the form, then instead of using a POST for the form you will use a GET since your query filters filter based on a URL parameter.
This way you can perform your search to filter your users, you already have the basic concept down but you are missing the query filters for the view to filter and in the method attribute for your form you will put GET so the information is being passed as a URL parameter.