Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2688327
D25602.1734721128.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
1 KB
Referenced Files
None
Subscribers
None
D25602.1734721128.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D25602: Do not hardcode default Priority names in Project Reports tooltip
Attached
Detach File
Event Timeline
Log In to Comment