modxcms / revolution

MODX Revolution - Content Management Framework
https://modx.com/
GNU General Public License v2.0
1.36k stars 528 forks source link

Why is sorting needed in resource tree? #16603

Open Ruslan-Aleev opened 1 month ago

Ruslan-Aleev commented 1 month ago

Feature request

Summary

If a resource has child resources, then the context menu will have a sorting option (see screenshot), BUT sorting only affects the display of resources in the admin panel, as I understand it.

tree_sort

Why is sorting needed in resource tree?

It would be convenient if the sorting could be saved for the site as well. Or it would make sense to somehow rename the item, like "display in tree".

p.s. Or I didn't understand what this menu item is for.

smg6511 commented 3 weeks ago

I'd agree in most cases that the sorting has limited use, particularly on smaller sites. I don't use it much. But a use-case I can think of is a news site or any type of site that would have folders containing a long list of Resources: In that scenario, it might be useful to change the sorting to more easily find a particular Resource to work on.

Of course, it depends on one's style of searching for things: If a user tends to look for items primarily via the tree, the sorting can be helpful. Personally I use the search bar a lot for larger sites; it's quite effective at finding whatever you need. Or I use the Collections Extra to organize larger related sets of documents.