Index: trunk/extensions/DataCenter/Views/Plans/Rack.php |
— | — | @@ -27,7 +27,7 @@ |
28 | 28 | // Gets structure of plan |
29 | 29 | $structure = $plan->getStructure( |
30 | 30 | DataCenterDB::buildSort( |
31 | | - 'link', 'asset', array( 'orientation DESC', 'z DESC' ) |
| 31 | + 'link', 'asset', array( 'orientation', 'z DESC' ) |
32 | 32 | ) |
33 | 33 | ); |
34 | 34 | // Gets objects from rack in structure |
— | — | @@ -50,12 +50,12 @@ |
51 | 51 | $objectModel->get( array( 'manufacturer', 'name' ) ) |
52 | 52 | ), |
53 | 53 | 'position' => implode( |
54 | | - ': ', |
| 54 | + ' / ', |
55 | 55 | array( |
| 56 | + $objectLink->get( 'z' ), |
56 | 57 | DataCenterUI::format( |
57 | 58 | $objectLink->get( 'orientation' ), 'side' |
58 | 59 | ), |
59 | | - $objectLink->get( 'z' ), |
60 | 60 | ) |
61 | 61 | ), |
62 | 62 | ) |