Default application search to the topmost filter
Summary: Allow users to set a default by dragging it to the top. When they land on a page without a saved query, choose their default. Test Plan: Hit `/paste/`, got my default results, etc. Reviewers: chad Reviewed By: chad CC: aran Differential Revision: https://secure.phabricator.com/D6140
This commit is contained in:
@@ -10,7 +10,7 @@ final class PhabricatorPasteListController extends PhabricatorPasteController
|
||||
}
|
||||
|
||||
public function willProcessRequest(array $data) {
|
||||
$this->queryKey = idx($data, 'queryKey', 'all');
|
||||
$this->queryKey = idx($data, 'queryKey');
|
||||
}
|
||||
|
||||
public function processRequest() {
|
||||
|
||||
Reference in New Issue
Block a user