r46731 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r46730‎ | r46731 | r46732 >
Date:20:07, 2 February 2009
Author:tparscal
Status:deferred
Tags:
Comment:
Fixed mistake in ordering fields vs. words.
Modified paths:
  • /trunk/extensions/DataCenter/Views/Plans/Rack.php (modified) (history)

Diff [purge]

Index: trunk/extensions/DataCenter/Views/Plans/Rack.php
@@ -27,7 +27,7 @@
2828 // Gets structure of plan
2929 $structure = $plan->getStructure(
3030 DataCenterDB::buildSort(
31 - 'link', 'asset', array( 'orientation DESC', 'z DESC' )
 31+ 'link', 'asset', array( 'orientation', 'z DESC' )
3232 )
3333 );
3434 // Gets objects from rack in structure
@@ -50,12 +50,12 @@
5151 $objectModel->get( array( 'manufacturer', 'name' ) )
5252 ),
5353 'position' => implode(
54 - ': ',
 54+ ' / ',
5555 array(
 56+ $objectLink->get( 'z' ),
5657 DataCenterUI::format(
5758 $objectLink->get( 'orientation' ), 'side'
5859 ),
59 - $objectLink->get( 'z' ),
6060 )
6161 ),
6262 )

Status & tagging log