Siblings of different types are not sorted by name.
---------------------------------------------------

                 Key: MGNLDATA-153
                 URL: http://jira.magnolia-cms.com/browse/MGNLDATA-153
             Project: Magnolia Data Module
          Issue Type: Bug
    Affects Versions: 1.7.2, 1.6.5
            Reporter: Danilo Ghirardelli
            Assignee: Philipp Bärfuss


Steps to reproduce:

- go to the public demo, authoring instance
- go to data -> types, and open the {{company}} type
- check the "Sort by name" checkbox and save. You can even export the type and 
restart the webapp if you want, even if it's not necessary.
- go to data -> company and open Big-Flower-Inc/Permanent-Employees
- edit "Jack Middleman" and rename it to "Zack Middleman"

I would expect that if the sort is enabled, that element would go last, but it 
won't move. If you add another node of the same type ("Manager" in this case), 
it will go immediately after or before the "Zack Middleman" node, according to 
the alphabetic order.
This means that nodes are sorted only within the same type but not across 
different types even if those types are siblings. Is this the deisdered 
behaviour?

As a side note, also the order of the subtypes is not controllable. I don't 
mean the sibling nodes, but the fact that all nodes of "Manager" type are 
before (or after) all the nodes of "Developer" type, and this order might even 
change between server restarts. I think this is due to the fact that all the 
types and subtypes are loaded in a map at module start, and that map is the 
used to get the subtype "order" in the tree implementation. So this might be 
linked to MGNLDATA-125.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       


----------------------------------------------------------------
For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to