Problem with Mautic.reorderTableData after upgrading to mautic 5.03

With the latest update 5.03, I noticed that the function to change the order of the leads table has disappeared. However, it seems to be something that only affected the leads table (the segments table works fine), have you guys had this problem? I have noticed it on two different installations.

Does anyone know anything about it?

Your software
My Mautic version is: 5.03
My PHP version is: 8.0
My Database type and version is: mariadb

Your problem
My problem is: The order function of the lead table is missing.

These errors are showing in the log: -

Steps I have tried to fix the problem: -

1 Like

I have exactly the same on 5.0.3 - segments table sorts correctly, contacts table does not show a sort order icon at the top of the column and clicking the column header does not change the sort order.

2 Likes

Same problem here. Can’t sort contacts by ID or Last Active or anything. Other than that, everything else seems to work (so far).

1 Like

would like to know if there is another person who has updated to Mautic 5.03 and has had the same issue. This is a big problem because leads cannot be sorted. It almost renders it useless. Can anyone contribute any ideas on where the problem might be found? Even if it’s just to review the code. I’m willing to do it if necessary. Thank you very much.

1 Like

Solution:

curl https://github.com/mautic/mautic/commit/cc0027778a911ca22837d52944571ae571cbaadc.patch | sudo patch -p1
bin/console mautic:a:g

o

"go to the directory app/bundles/CoreBundle/Controller/CommonController.php and replace the following line

if (null === $name) {
with this:
if (empty($name)) {

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.