Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15369947
D12652.id30415.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D12652.id30415.diff
View Options
diff --git a/src/applications/maniphest/config/PhabricatorManiphestConfigOptions.php b/src/applications/maniphest/config/PhabricatorManiphestConfigOptions.php
--- a/src/applications/maniphest/config/PhabricatorManiphestConfigOptions.php
+++ b/src/applications/maniphest/config/PhabricatorManiphestConfigOptions.php
@@ -65,6 +65,12 @@
'open' => array(
'name' => pht('Open'),
'special' => ManiphestTaskStatus::SPECIAL_DEFAULT,
+ 'prefixes' => array(
+ 'open',
+ 'opens',
+ 'reopen',
+ 'reopens',
+ ),
),
'resolved' => array(
'name' => pht('Resolved'),
diff --git a/src/applications/maniphest/field/parser/__tests__/ManiphestCustomFieldStatusParserTestCase.php b/src/applications/maniphest/field/parser/__tests__/ManiphestCustomFieldStatusParserTestCase.php
--- a/src/applications/maniphest/field/parser/__tests__/ManiphestCustomFieldStatusParserTestCase.php
+++ b/src/applications/maniphest/field/parser/__tests__/ManiphestCustomFieldStatusParserTestCase.php
@@ -50,6 +50,16 @@
'Fixes t2apps' => array(),
'fixes a bug' => array(),
'Prefixes T2' => array(),
+ 'Reopens T123' => array(
+ array(
+ 'match' => 'Reopens T123',
+ 'prefix' => 'Reopens',
+ 'infix' => '',
+ 'monograms' => array('T123'),
+ 'suffix' => '',
+ 'offset' => 0,
+ ),
+ ),
);
foreach ($map as $input => $expect) {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mar 13 2025, 8:53 AM (5 w, 1 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7591240
Default Alt Text
D12652.id30415.diff (1 KB)
Attached To
Mode
D12652: Add "reopens" prefix
Attached
Detach File
Event Timeline
Log In to Comment