Skip Navigation

[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.

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

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 11 replies, has 2 voices.

Last updated by oliverD 7 years, 3 months ago.

Assisted by: Shane.

Author
Posts
#552475

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 there a similar example that we can see?

What is the link to your site?

#552587

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Oliver,

Thank you for contacting our support forum.

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 ?

Thanks,
Shane

#552611

I will need to give you restricted access can you give me option to send you private message?
thanks

#552622

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Oliver,

The private fields have been enabled.
Thanks,
Shane

#552734

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Oliver,

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,
Shane

#552791

I have got the search to work properly. Its just the paging that is not working. What I need is the paging to work in conjunction with the search?

#553067

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Oliver,

I cannot guarantee that this would work, but could you try using the Ajax Pagination ?

Thanks,
Shane

#553256

I tried the different pagination but did not have any joy. What is the next option?
thanks
Oliver

#553520

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Oliver,

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."

Thanks,
Shane

#554650

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.

#554764

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Oliver,

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.

Thanks,
Shane

#555776

That worked a treat.
Thanks