1
0
Fork 0
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:
epriestley 2011-02-18 21:57:34 -08:00
parent cf22d8c6cb
commit 0e7729c78f

View file

@ -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();