View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 1521 | RackTables | default | public | 2015-09-07 10:12 | 2015-09-08 00:28 |
| Reporter | jonesg | Assigned To | |||
| Priority | normal | Severity | tweak | Reproducibility | always |
| Status | closed | Resolution | duplicate | ||
| Product Version | 0.20.10 | ||||
| Summary | 1521: Location is sorted by leafname across all branches | ||||
| Description | When you have many locations with sub locations you run into the situation that the order of the locations in the rackspace view is based on the name of the leaf of the tree across all branches. By this I mean if I have two sub locations (e.g. Room1 and Room3) in one sub location and one sub location (e.g. Room2) in another sub location these will be shown in the rackspace view sorted as Room1,Room2,Room3 despite Room1 and 3 being in the same sub location. I would be nice if the locations and sub locations in the tree were sorted by level in the tree meaning the all sub locations in location A are grouped first by location A and then sorted and grouped by the next level of sub locations etc. It might be a bit hard to explain but I have attached an image from the demo environment showing in a red box the problem. I would expect the locations and sub locations to be order under the respective to level location. | ||||
| Steps To Reproduce | 1. Create two locations (A and B) 2. Create a sub location under each of the locations (A1 and B1) 3. Create two sub locations (e.g. R1 and Room3) under A1 4. Create a sub location (e.g. Room2) under B1 5. Add a row to Room1,2 and 3 6. View Rackspace view The ordering will be: A>>A1>>Room1 B>>B1>>Room2 A>>A1>>Room3 Expected: A>>A1>>Room1 A>>A1>>Room3 B>>B1>>Room2 | ||||
| Additional Information | Sorting should count on all levels so that we get: A>>A1>>Room1 A>>A2>>Room433 A>>A2>>Room566 B>>B1>>Room2 | ||||
| Tags | No tags attached. | ||||
| Attached Files | |||||