Page MenuHomePhorge

D25602.1734721128.diff
No OneTemporary

D25602.1734721128.diff

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,
),
),

File Metadata

Mime Type
text/plain
Expires
Fri, Dec 20, 18:58 (14 h, 37 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1020486
Default Alt Text
D25602.1734721128.diff (1 KB)

Event Timeline