Skip Navigation

[Resolved] Resources appearing multiple times on different list pages

This support ticket is created 5 years, 6 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
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 4 replies, has 2 voices.

Last updated by Christian Cox 5 years, 6 months ago.

Assisted by: Christian Cox.

Author
Posts
#1238727

Example when browsing hidden link

We notice that when moving from page to page using the page selector at the base of the resources, that certain resources are appearing on more than one page.

For example:
Starting on page1, I see a resource called 'incident report' Using the > arrows I navigate to page 5 and the same resource reappears.

We have checked and in admin, there is only one version of this resource, also when you search for it only one version is returned - concluding it is not a duplicate but an issue with how the resources are being displayed across pages.

The issue is not restricted to this one example, it happens for multiple resources.

We'd like to fix this issue as it feels like a bug.

Also, ideally we'd like to display the lists in a fixed alphabetical order.

Can you assist with both these requests?

Thanks

#1238728

Starting on page1, I see a resource called 'incident report' Using the > arrows I navigate to page 5 and the same resource reappears.
It seems to be related to User or User Role, because the behavior is different if I'm logged in or not. Do you have a staging environment set up where we can turn plugins off and run tests for conflicts? If so, please provide login credentials here and I will take a look.

#1238729
#1238782

It seems that a few shortcodes in the WordPress Archive are causing problems. I have changed those and pagination seems to be working as expected now in staging, though I did make quite a few changes during my tests including updating Toolset plugins and updating WordPress and WooCommerce. However, I still think the shortcodes were the cause of the problem. I would like to confirm the shortcode fix by resetting the staging environment to match production so I can run those tests one more time to confirm. Let me know if that's possible. For your reference, the shortcodes I changed were from:

[wpv-pager-prev-page]
[wpv-pager-total-pages]
[wpv-pager-next-page]

...to these preferred archive-specific shortcodes:

[wpv-pager-archive-prev-page]
[wpv-pager-archive-total-pages]
[wpv-pager-archive-next-page]

I also updated the WordPress Archive for Resource Categories to be sorted alphabetically.

#1239137

Sorry, we dont have a back up of staging right now.

Could we ask you to implement the changes on live though? We do have a back up of that site.

#1239502

Done, please check the live site and confirm this is working as expected. This archive is also used for Products, so the changes made here will also be applied to the Products archives.