Index: trunk/extensions/Nuke/Nuke_body.php |
— | — | @@ -222,6 +222,7 @@ |
223 | 223 | if ( !is_null( $pattern ) && trim( $pattern ) !== '' ) { |
224 | 224 | $where[] = 'rc_title LIKE ' . $dbr->addQuotes( $pattern ); |
225 | 225 | } |
| 226 | + $group = implode( ', ', $what ); |
226 | 227 | |
227 | 228 | $result = $dbr->select( 'recentchanges', |
228 | 229 | $what, |
— | — | @@ -229,7 +230,7 @@ |
230 | 231 | __METHOD__, |
231 | 232 | array( |
232 | 233 | 'ORDER BY' => 'rc_timestamp DESC', |
233 | | - 'GROUP BY' => 'rc_namespace, rc_timestamp, rc_title', |
| 234 | + 'GROUP BY' => $group, |
234 | 235 | 'LIMIT' => $limit |
235 | 236 | ) |
236 | 237 | ); |