Index: trunk/extensions/ArticleFeedback/populateAFStatistics.php |
— | — | @@ -165,9 +165,9 @@ |
166 | 166 | 'afshl_avg_overall', |
167 | 167 | 'afshl_avg_ratings' |
168 | 168 | ), |
169 | | - 'afshl_ts = ' . $cur_ts, |
| 169 | + array( 'afshl_ts' => $cur_ts ), |
170 | 170 | __METHOD__, |
171 | | - array() |
| 171 | + array( "ORDER BY" => "afshl_avg_overall" ) |
172 | 172 | ); |
173 | 173 | // grab the article feedback special page so we can reuse the data structure building code |
174 | 174 | // FIXME this logic should not be in the special page class |