No Code Attached Yet
avatar nzimas
nzimas
12 May 2022

Steps to reproduce the issue

  1. Create at least 2 menu items
  2. Change their ordering in the backend using the drag and drop tool

Expected result

The position of menu items on the frontend should reflect the ordering of menu items in the backend.

Actual result

Menu ordering is not saved in the backend, therefore the position of menu items on the frontend remains unchanged.

System information (as much as possible)

Server:
Joomla 4.1.3
PHP 7.4.28
Mysql 10.1.48-MariaDB-0+deb9u2
Apache/2.4.25

Client:
Chrome 101.0.4951.64 for MacOS

avatar nzimas nzimas - open - 12 May 2022
avatar joomla-cms-bot joomla-cms-bot - change - 12 May 2022
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 12 May 2022
avatar joomdonation
joomdonation - comment - 12 May 2022

Hello

This bug was fixed recently but will only be available on next Joomla 4.1.4 release. For the time being, you can use the solution I posted here #37778 (comment) .

avatar joomdonation joomdonation - change - 12 May 2022
Status New Closed
Closed_Date 0000-00-00 00:00:00 2022-05-12 16:24:41
Closed_By joomdonation
avatar joomdonation joomdonation - close - 12 May 2022
avatar retromore
retromore - comment - 17 May 2022

Something is not quite perfect there with that JS patch. In modules list If I drag 2 modules (at the end of the list) – after n number of drags it skips remembering the order again for some reason. Not 100% sure it's the correct pattern but I think it skips at some odd number of drags 3/7/15

Update: this pattern seems to be consistent with all module items. Drag the same item 3 times and and it will skip saving the third one:

modules-2.mp4

Same issue is reproducible in menu ordering

Add a Comment

Login with GitHub to post a comment