From 369079dd452258b30c1c019af8a9018353701bd9 Mon Sep 17 00:00:00 2001 From: Nick Harper Date: Thu, 22 Dec 2011 19:37:36 -0800 Subject: [PATCH] Change default status to 'all' in DifferentialRevisionList Summary: Makes it easier to discover the list of all revisions for a user. Test Plan: Opened up /differential/filter/revisions/, and saw that it defaulted to status of all. Clicked between tabs, and it stayed on all. Selected open, it only displayed open revisions, including as I switched between tabs. Reviewers: epriestley, jungejason Reviewed By: epriestley CC: aran, epriestley Differential Revision: https://secure.phabricator.com/D1278 --- .../revisionlist/DifferentialRevisionListController.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/applications/differential/controller/revisionlist/DifferentialRevisionListController.php b/src/applications/differential/controller/revisionlist/DifferentialRevisionListController.php index ede38e9c6c..6f9e0cf9a4 100644 --- a/src/applications/differential/controller/revisionlist/DifferentialRevisionListController.php +++ b/src/applications/differential/controller/revisionlist/DifferentialRevisionListController.php @@ -1,7 +1,7 @@ $user->getPHID(), - 'status' => 'open', + 'status' => 'all', 'order' => 'modified', ); @@ -314,8 +314,8 @@ class DifferentialRevisionListController extends DifferentialController { case 'status': $links = $this->renderToggleButtons( array( - 'open' => 'Open', 'all' => 'All', + 'open' => 'Open', ), $params['status'], $uri,