Skip Navigation

[Resolved] Split: My query filter is not working in the view

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
- 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/Karachi (GMT+05:00)

This topic contains 3 replies, has 2 voices.

Last updated by Waqar 4 years ago.

Assisted by: Waqar.

Author
Posts
#1920005

My query filter is not working

#1920011

Hi,

To troubleshoot why the query filter is not working, I'll need to see how it is set up in the admin area.

Can you please share temporary admin login details, along with the link to the page where this view can be seen?

Note: Your next reply will be private and please make a complete backup copy, before sharing the access details.

regards,
Waqar

#1929203

Thank you for sharing the admin access.

I've performed several tests on your search page's view and it seems to be working as expected.

Can you please test it again and if the issue still persists, please share the exact steps to see the issue?

#1931535

Thank you for sharing these details.

During troubleshooting, I noticed that in the nested view "paidviewer", the query filters are set to use the "sellerid" and "userid", but in the view's shortcode inside the parent view "Search", attributes with "_" value was used:


[wpv-view name="paidviewer" seller_id="[wpv-post-id]" user_id="[wpv-current-user info='id']"]

I've updated the view's shortcode to use the correct attributes and the filtering seems to be working:


[wpv-view name="paidviewer" sellerid="[wpv-post-id]" userid="[wpv-current-user info='id']"]