mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-21 13:00:56 +01:00
Make priority the default sort and order.
Summary: Test Plan: Reviewers: CC:
This commit is contained in:
parent
cf22d8c6cb
commit
0e7729c78f
1 changed files with 4 additions and 4 deletions
|
@ -337,14 +337,14 @@ class ManiphestTaskListController extends ManiphestController {
|
|||
'p' => 'priority',
|
||||
);
|
||||
if (empty($orders[$order])) {
|
||||
$order = 'u';
|
||||
$order = 'p';
|
||||
}
|
||||
$order_by = $orders[$order];
|
||||
|
||||
$order_names = array(
|
||||
'Priority' => 'p',
|
||||
'Updated' => 'u',
|
||||
'Created' => 'c',
|
||||
'Priority' => 'p',
|
||||
);
|
||||
|
||||
$uri = $request->getRequestURI();
|
||||
|
@ -382,15 +382,15 @@ class ManiphestTaskListController extends ManiphestController {
|
|||
'o' => 'owner',
|
||||
);
|
||||
if (empty($groups[$group])) {
|
||||
$group = 'n';
|
||||
$group = 'p';
|
||||
}
|
||||
$group_by = $groups[$group];
|
||||
|
||||
$group_names = array(
|
||||
'None' => 'n',
|
||||
'Priority' => 'p',
|
||||
'Owner' => 'o',
|
||||
'Status' => 's',
|
||||
'None' => 'n',
|
||||
);
|
||||
|
||||
$uri = $request->getRequestURI();
|
||||
|
|
Loading…
Reference in a new issue