r91097 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r91096‎ | r91097 | r91098 >
Date:19:03, 29 June 2011
Author:reedy
Status:ok
Tags:
Comment:
Fix filtering by status from queryparam ?status=fixme
Modified paths:
  • /trunk/extensions/CodeReview/ui/CodeRevisionListView.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CodeReview/ui/CodeRevisionListView.php
@@ -325,6 +325,9 @@
326326 if( $this->mView->mAuthor ) {
327327 $query['conds']['cr_author'] = $this->mView->mAuthor;
328328 }
 329+ if( $this->mView->mStatus ) {
 330+ $query['conds']['cr_status'] = $this->mView->mStatus;
 331+ }
329332 return $query;
330333 }
331334

Status & tagging log