1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-10 00:42:41 +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

Reviewers: fratrik, aran

CC:

Differential Revision: 39
This commit is contained in:
epriestley 2011-02-24 14:34:58 -08:00
parent af4ab07f46
commit 60b08936a4

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':