• MODX.com

    465 downloads

Fix Tree Sorting

Fix Tree Sorting is an extra by snowcreative, first released on 2022-05-14.

Package Description

MODX doesn't automatically adjust menuindexes to make sure each set of children starts at 0 and proceeds sequentially. After adding new resources, moving resources into a different order, deleting resources, and duplicating resources, you can end up with menuindex sequences like 0, 1, 3, 5, 6, 10, or 6, 8, 9, 15, or even 2, 4, 6, 6, 6, 9, 12, 12. This can cause problems when fetching resources in menuindex order (if there are duplicate menuindexes) or creating a new resource (if there is a gap in the sequence, the new resource will get inserted in a gap instead of at the bottom of the list). This plugin fixes the problem by resorting the entire group of children whenever you edit and save a resource in that group, or manually drag a resource into a new order in the resource tree.

Details

Developer(s)
snowcreative
Released
2022-05-14
First seen
2022-05-14
License
GPLv2
Supported databases
Minimum MODX Requirement
2.0

Fix Tree Sorting Releases

Vendor Signature Released on
MODX.com 1.0.2-pl 2022-05-14 (2 years ago)
MODX.com 1.0.1-pl 2021-11-20 (3 years ago)
MODX.com 1.0-pl 2021-04-01 (3 years ago)

We've also seen 2 unverified versions of Fix Tree Sorting in use, but don't list those as we've been unable of confirming they are official releases from an official source.