Index: trunk/extensions/MetricsReporting/ApiAnalyticsBase.php |
— | — | @@ -95,7 +95,7 @@ |
96 | 96 | // b, c, d |
97 | 97 | // TODO: Cater for "top:20" etc |
98 | 98 | $query['conds']['country_code'] = $parsedFilter; |
99 | | - $titleFields[] = ''; |
| 99 | + $titleFields[] = 'country_code'; |
100 | 100 | break; |
101 | 101 | case 'selectwebproperties': |
102 | 102 | /*if ( $params['authcode'] != 'some string' ) { |
— | — | @@ -109,7 +109,7 @@ |
110 | 110 | case 'selectprojects': |
111 | 111 | // c |
112 | 112 | $query['conds']['project_code'] = $parsedFilter; |
113 | | - $titleFields[] = ''; |
| 113 | + $titleFields[] = 'project_code'; |
114 | 114 | break; |
115 | 115 | case 'selectwikis': |
116 | 116 | // c |