r91515 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r91514‎ | r91515 | r91516 >
Date:01:24, 6 July 2011
Author:reedy
Status:deferred
Tags:
Comment:
Index the sub array
Modified paths:
  • /trunk/extensions/MetricsReporting/ApiAnalyticsBase.php (modified) (history)

Diff [purge]

Index: trunk/extensions/MetricsReporting/ApiAnalyticsBase.php
@@ -144,6 +144,7 @@
145145 $item[$field] = $row->$field;
146146 }
147147 $data[ $row->{$this->getColumnName( 'comscore.region_code' )} ][] = $item;
 148+ $result->setIndexedTagName( $data[ $row->{$this->getColumnName( 'comscore.region_code' )} ], 'region' );
148149 }
149150
150151 $result->setIndexedTagName( $data, 'data' );

Status & tagging log