Skip Navigation

[Resolved] Possible conflict between Elementor Pro and custom sort order in Views

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

Our next available supporter will start replying to tickets in about 1.31 hours from now. 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 3 replies, has 2 voices.

Last updated by Christian Cox 3 years, 4 months ago.

Assisted by: Christian Cox.

Author
Posts
#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.