Index: trunk/extensions/CodeReview/ui/CodeRevisionListView.php |
— | — | @@ -227,7 +227,7 @@ |
228 | 228 | $name = $this->mRepo->getName(); |
229 | 229 | |
230 | 230 | $title = SpecialPage::getTitleFor( 'Code', $name ); |
231 | | - $options = array(Xml::option('', $title, $wgRequest->getVal('title') == $title ) ); |
| 231 | + $options = array(Xml::option('', $title, $this->mStatus == '' ) ); |
232 | 232 | |
233 | 233 | |
234 | 234 | foreach ($states as $key => $state) { |
— | — | @@ -235,7 +235,7 @@ |
236 | 236 | $options[] = Xml::option( |
237 | 237 | wfMsgHtml( "code-status-".$state ), |
238 | 238 | $title, |
239 | | - $wgRequest->getVal('title') == $title |
| 239 | + $this->mStatus == $state |
240 | 240 | ); |
241 | 241 | } |
242 | 242 | |