User tests: Successful: Unsuccessful:
http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=30997
I have created patches for v3.1 and v2.5 that fix the problems described above.
In addition to fixing the above problems, the patches remove a bit of superfluous code in JTableNested::rebuild(), wherein, "If the table has an ordering field, use that for ordering."
In the case of v3.1, there are no nested tables with an ordering column, so the code clearly does nothing.
In the case of v2.5, the only nested table with an ordering column is #__menu, but v2.5 doesn't actually use the column for anything (it is filled with 0), so again, the code does nothing. However, there is or was a problem with JUpgrade putting data in the ordering column, causing rebuild() to sort incorrectly, resulting in problems when users tried to reorder menu items. Removing this code should help anyone still suffering from the problem.
Other older issues that I came across that might be related to this issue:
[#26655] *Ordering column issue for _menu table in sample_data.sql
http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=26655
[#26675] Menu ordering not working
http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=26675
[#28870] All #__menu_ordering rows reads 0
http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=28870
[#29379] Menu item re-ordering issue
http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=29379
[#29807] Order category/menu (JTableNested) doesn't work on pagination != 1
http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=29807
[#30872] Wrong sorting order on menuitems
http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=30872
Hi! I would like to get this changed in joomla 3.3.3+. I had the items in a specific order and almost every time I look at the site, the items are rearranged in no particular order. I have not tried the amended file as yet though - I wasn't sure if the amended file will work with the current version of joomla that I have.
This comment was created with the J!Tracker Application at http://issues.joomla.org/.
Status | New | ⇒ | Pending |
Build | ⇒ | . |
Hi guys,
Please submit an updated Pull Request. Here's an easy way how:
http://docs.joomla.org/Using_the_Github_UI_to_Make_Pull_Requests
Labels |
Added:
?
|
Title |
|
Should this be tested in current state or does it need updating?
Hi,
I just tried to replicate the issue as described here:
http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=30997
I was using the 3.4.0-dev install. All of the menu items reordered properly in my test.
Has this been resolved?
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/1182.
Status | Pending | ⇒ | Closed - No Reply |
Set to "closed" on behalf of @Hackwar by The JTracker Application at issues.joomla.org/joomla-cms/1182
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2014-11-17 21:56:08 |
Title |
|
Not only this is targeted to master, but it is obsolete and can't be applied.