Remove "Name Contains" query constraint from Diffusion for Repositories
Summary: Ref T12819. Obsoleted by the Ferret engine "Query" field. This is a compatibility break, I'll note it in the changelog. Test Plan: Searched for repositories by name with "Query" instead of "Name Contains". Reviewers: chad Reviewed By: chad Maniphest Tasks: T12819 Differential Revision: https://secure.phabricator.com/D18588
This commit is contained in:
@@ -24,9 +24,6 @@ final class PhabricatorRepositorySearchEngine
|
||||
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 @@ final class PhabricatorRepositorySearchEngine
|
||||
$query->withTypes($map['types']);
|
||||
}
|
||||
|
||||
if (strlen($map['name'])) {
|
||||
$query->withNameContains($map['name']);
|
||||
}
|
||||
|
||||
if ($map['uris']) {
|
||||
$query->withURIs($map['uris']);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user