Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15404273
D18425.id44274.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.id44274.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())
@@ -1595,13 +1577,6 @@
->appendChild(pht('Search is not available in Subversion.'));
break;
default:
- $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())
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Mar 19, 7:03 AM (3 d, 8 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7346579
Default Alt Text
D18425.id44274.diff (1 KB)
Attached To
Mode
D18425: Remove "File Name" search tool
Attached
Detach File
Event Timeline
Log In to Comment