Skip Navigation

[Resolved] When having more than one Views block on one page, only one query shows

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

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 2 replies, has 2 voices.

Last updated by vlastaK 4 years, 5 months ago.

Assisted by: Waqar.

Author
Posts
#1718277

Tell us what you are trying to do?

Simple thing. I am having a couple of Views (displaying people in a company in different departments).
If I use one single View on one page, there is no problem, but when I use more than one View in one page one after another (the list of all departments with their employees), it shows the last View query I inserted in all departments (let say I inserted "Education department" as the last one - result is that employees of ED are displayed everywhere else in this page (in "Economical department", "Psychological consultation" etc.)...

What is the link to your site with the problem?
hidden link

Thank you!
Jiri

#1718965

Hi Jiri,

Thank you for contacting us and I'd be happy to assist.

This issue has been reported to the concerned team already and when a page/post or content template contains multiple view blocks, editing a query filter setting in anyone of them, overwrites it to all of them.

I'm afraid, we don't have a time estimate to share at this time, but I'll keep you updated on the progress through this ticket.

For now, a workaround can be to create and edit those multiple views, each on separate pages. And on the actual page where you need to show them all, you can insert them as the existing views.

I hope this helps and please let me know if you need any further assistance around this.

regards,
Waqar

#1722227

Thank you! For now it helped me, as you advised, I inserted existing Views - this solution works!
Best!
Jiri