Page MenuHomePhabricator

D18588.id.diff
No OneTemporary

D18588.id.diff

diff --git a/src/applications/repository/query/PhabricatorRepositoryQuery.php b/src/applications/repository/query/PhabricatorRepositoryQuery.php
--- a/src/applications/repository/query/PhabricatorRepositoryQuery.php
+++ b/src/applications/repository/query/PhabricatorRepositoryQuery.php
@@ -8,7 +8,6 @@
private $callsigns;
private $types;
private $uuids;
- private $nameContains;
private $uris;
private $datasourceQuery;
private $slugs;
@@ -116,11 +115,6 @@
return $this;
}
- public function withNameContains($contains) {
- $this->nameContains = $contains;
- return $this;
- }
-
public function withURIs(array $uris) {
$this->uris = $uris;
return $this;
@@ -661,13 +655,6 @@
$this->uuids);
}
- if (strlen($this->nameContains)) {
- $where[] = qsprintf(
- $conn,
- 'r.name LIKE %~',
- $this->nameContains);
- }
-
if (strlen($this->datasourceQuery)) {
// This handles having "rP" match callsigns starting with "P...".
$query = trim($this->datasourceQuery);
diff --git a/src/applications/repository/query/PhabricatorRepositorySearchEngine.php b/src/applications/repository/query/PhabricatorRepositorySearchEngine.php
--- a/src/applications/repository/query/PhabricatorRepositorySearchEngine.php
+++ b/src/applications/repository/query/PhabricatorRepositorySearchEngine.php
@@ -24,9 +24,6 @@
id(new PhabricatorSearchStringListField())
->setLabel(pht('Callsigns'))
->setKey('callsigns'),
- id(new PhabricatorSearchTextField())
- ->setLabel(pht('Name Contains'))
- ->setKey('name'),
id(new PhabricatorSearchSelectField())
->setLabel(pht('Status'))
->setKey('status')
@@ -72,10 +69,6 @@
$query->withTypes($map['types']);
}
- if (strlen($map['name'])) {
- $query->withNameContains($map['name']);
- }
-
if ($map['uris']) {
$query->withURIs($map['uris']);
}

File Metadata

Mime Type
text/plain
Expires
Fri, Nov 1, 6:45 AM (2 w, 2 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6732012
Default Alt Text
D18588.id.diff (1 KB)

Event Timeline