Support is online

Unable to order templates in J4 #77844

Open Locked jjnxpct opened this topic Saturday, 21 October 2023 · 6 replies
Author

I can not order the templates (list) on Joomla 4. Dragging them to a different position works, but this is not saved. On page refresh or returning to the list, the order is back to what is was before.

Support

Hello,

This sounds like you have something interfering with the AJAX call in the background. Please check the Developer Tools in the browser to see if there is any error.

As far as I have tested this, I see no issues with the functionality.

Let me know how it goes.

Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory

Author

Hi! I don;t see any errors in the console. It does look like the ordering is OK, but reloading the page or switching to another page an coming back does not show the changed ordering. It's like it is not save.

Support

Hello,

Can you post a screenshot of the Response tab of the saveOrder request? We should check what it says there as that request is the one failing if nothing is saved. You won't see any errors in the console because it is not a JavaScript error.

Post the screenshot and we can also check what is in there and perhaps that will tell us what is going on.

Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory

Author

Sorry, I don't know what you mean by 'Response tab of the saveOrder request'.

Support

Hello,

The screenshot is no longer necessary. After some more testing I was able to reproduce the issue as well. You can load the attached patch file and the ordering should be working as expected.

Let me know how it goes.

Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory

Author

Hi Roland, this fix worked. Thanks!

This topic is locked. New replies are not possible.

Log in to reply to this topic.