Skip Navigation

[Résolu] Possible conflict between Elementor Pro and custom sort order in Views

This support ticket is created Il y a 5 années. 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.

Aucun de nos assistants n'est disponible aujourd'hui sur le forum Jeu d'outils. Veuillez créer un ticket, et nous nous le traiterons dès notre prochaine connexion. Merci de votre compréhension.

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)

Ce sujet contient 3 réponses, a 2 voix.

Dernière mise à jour par Christian Cox Il y a 3 années et 4 mois.

Assisté par: Christian Cox.

Auteur
Publications
#1398471

I have a view with custom sort (post date and a numeric custom field) wich is not working, so I deactivated all the plugins and switched to default theme. The only two active plugins were Views and Types, and the view was working properly.

I activated all the plugins one by one and the custom sort stopped working when I activated Elementor Pro. This does not happen with the free Elementor, just with the Pro version.

BUT this does not happen if the view is updated using AJAX. If I choose to update the entire page when the user clicks on the submit button the custom sort does not work.

So, to recap everything:

Only Views and Types: custom sorting WORKS with page update
With Elementor Pro: custom sorting DO NOT WORK with page update but WORKS with AJAX.

I don't know how Views and Elementor Pro are related about this problem, but I wanted to let you know. I will also inform Elementor developers about this.

Thanks!

#1399145

Hi, thank you for the detailed report. A similar issue has already been reported here: https://toolset.com/forums/topic/search-sorting-not-working-at-all/

Is your View split into two Elementor widgets - one for the filters and another for the results? If so, then the issue is likely the same. The workarounds are to use AJAX in the View, or to show both the filters and results in a single Elementor widget.

Please let me know if your filters and results are split like this, and I can link this ticket to our internal bug ticket.

#1399607

Yes, I confirm that my filters and results are split in two different widgets.

If I show both in a single widget the sorting works, so the issue is the same.

I'll use a workaround for the moment and wait for a fix.

Thank you!

#2125247

The fix for this issue has been included in the latest round of plugin releases, now available for download or automatic update.