mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-27 01:02:42 +01:00
Make "Dnn" and "Tnn" match case-insensitively in the "attach" dialog
Summary: These patterns are hard-coded, allow them to match case-insenstiviely. Test Plan: Typed "d3" and "D3", got the right object in the attach dialog. Reviewers: btrahan Reviewed By: btrahan CC: aran Maniphest Tasks: T1253 Differential Revision: https://secure.phabricator.com/D2511
This commit is contained in:
parent
eb6041371b
commit
a70cf3f675
1 changed files with 2 additions and 2 deletions
|
@ -80,10 +80,10 @@ final class PhabricatorSearchSelectController
|
|||
$pattern = null;
|
||||
switch ($this->type) {
|
||||
case PhabricatorPHIDConstants::PHID_TYPE_TASK:
|
||||
$pattern = '/\bT(\d+)\b/';
|
||||
$pattern = '/\bT(\d+)\b/i';
|
||||
break;
|
||||
case PhabricatorPHIDConstants::PHID_TYPE_DREV:
|
||||
$pattern = '/\bD(\d+)\b/';
|
||||
$pattern = '/\bD(\d+)\b/i';
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue