Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15417209
D18425.id44273.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
D18425.id44273.diff
View Options
diff --git a/src/applications/diffusion/controller/DiffusionBrowseController.php b/src/applications/diffusion/controller/DiffusionBrowseController.php
--- a/src/applications/diffusion/controller/DiffusionBrowseController.php
+++ b/src/applications/diffusion/controller/DiffusionBrowseController.php
@@ -449,18 +449,6 @@
'limit' => $pager->getPageSize() + 1,
'offset' => $pager->getOffset(),
));
- } else { // Filename search.
- $search_mode = 'find';
- $query_string = $request->getStr('find');
- $results = $this->callConduitWithDiffusionRequest(
- 'diffusion.querypaths',
- array(
- 'pattern' => $query_string,
- 'commit' => $drequest->getStableCommit(),
- 'path' => $drequest->getPath(),
- 'limit' => $pager->getPageSize() + 1,
- 'offset' => $pager->getOffset(),
- ));
}
break;
}
@@ -472,12 +460,6 @@
'File content matching "%s" under "%s"',
$query_string,
nonempty($drequest->getPath(), '/'));
- } else {
- $table = $this->renderFindResults($results);
- $header = pht(
- 'Paths matching "%s" under "%s"',
- $query_string,
- nonempty($drequest->getPath(), '/'));
}
return id(new PHUIObjectBoxView())
@@ -1598,13 +1580,6 @@
$forms[] = id(clone $form)
->appendChild(
id(new AphrontFormTextWithSubmitControl())
- ->setLabel(pht('File Name'))
- ->setSubmitLabel(pht('Search File Names'))
- ->setName('find')
- ->setValue($this->getRequest()->getStr('find')));
- $forms[] = id(clone $form)
- ->appendChild(
- id(new AphrontFormTextWithSubmitControl())
->setLabel(pht('Pattern'))
->setSubmitLabel(pht('Grep File Content'))
->setName('grep')
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Mar 21, 4:02 PM (7 h, 59 m ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7715661
Default Alt Text
D18425.id44273.diff (1 KB)
Attached To
Mode
D18425: Remove "File Name" search tool
Attached
Detach File
Event Timeline
Log In to Comment