Index: trunk/extensions/RecordAdmin/RecordAdmin_body.php |
— | — | @@ -321,7 +321,7 @@ |
322 | 322 | /** |
323 | 323 | * Return an array of records given type and other criteria |
324 | 324 | */ |
325 | | - function getRecords( $type, $posted, $wpTitle = '', $invert = false, $orderby = 'created desc' ) { |
| 325 | + function getRecords( $type, $posted, $operator, $wpTitle = '', $invert = false, $orderby = 'created desc' ) { |
326 | 326 | global $wgRequest; |
327 | 327 | |
328 | 328 | # If the page is already rendered, don't run this query |
— | — | @@ -861,7 +861,7 @@ |
862 | 862 | $tmp = $this->type; |
863 | 863 | $this->preProcessForm( $type ); |
864 | 864 | $this->examineForm(); |
865 | | - $records = $this->getRecords( $type, $filter, $title, $invert, $orderby ); |
| 865 | + $records = $this->getRecords( $type, $filter, $op, $title, $invert, $orderby ); |
866 | 866 | if ( $count ) while ( count( $records ) > $count ) array_pop( $records ); |
867 | 867 | $table = $this->renderRecords( $records, $cols, $sortable, $template, $name, $export ); |
868 | 868 | $this->type = $tmp; |