1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-20 13:52:40 +01:00

Maniphest: Fix "Needs Triage" views

Summary:
"needs triage" is a priority, not a status. I just wrote these
queries incorrectly.

Test Plan:
looked at "your -> need triage" and "all -> need triage" views,
checked query via darkconsole

Differential Revision: 39
Reviewed By: aran
Reviewers: fratrik, aran
CC: aran
This commit is contained in:
epriestley 2011-02-24 14:34:58 -08:00
parent af4ab07f46
commit 32fad439d7

View file

@ -165,12 +165,12 @@ class ManiphestTaskListController extends ManiphestController {
$argv[] = $phids; $argv[] = $phids;
break; break;
case 'triage': case 'triage':
$extra_clause = 'ownerPHID in (%Ls) AND status = %d'; $extra_clause = 'ownerPHID in (%Ls) AND priority = %d';
$argv[] = $phids; $argv[] = $phids;
$argv[] = ManiphestTaskPriority::PRIORITY_TRIAGE; $argv[] = ManiphestTaskPriority::PRIORITY_TRIAGE;
break; break;
case 'alltriage': case 'alltriage':
$extra_clause = 'status = %d'; $extra_clause = 'priority = %d';
$argv[] = ManiphestTaskPriority::PRIORITY_TRIAGE; $argv[] = ManiphestTaskPriority::PRIORITY_TRIAGE;
break; break;
case 'unassigned': case 'unassigned':