diff --git a/src/applications/maniphest/controller/ManiphestReportController.php b/src/applications/maniphest/controller/ManiphestReportController.php --- a/src/applications/maniphest/controller/ManiphestReportController.php +++ b/src/applications/maniphest/controller/ManiphestReportController.php @@ -700,13 +700,23 @@ ), pht('Oldest (All)')); $cclass[] = 'n'; + $low_pris = array(); + $low_pri_map = ManiphestTaskPriority::getTaskPriorityMap(); + foreach ($low_pri_map as $pri => $full_label) { + // TODO: This is sort of a hard-code for the default "normal" status. + // When reports are more powerful, this should be made more general. + if ($pri < 50) { + $low_pris[] = $full_label; + } + } + $pri_string = implode(' or ', $low_pris); $cname[] = javelin_tag( 'span', array( 'sigil' => 'has-tooltip', 'meta' => array( 'tip' => pht( - 'Oldest open task, excluding those with Low or Wishlist priority.'), + 'Oldest open task, excluding those with %s priority.', $pri_string), 'size' => 200, ), ),