Page MenuHomePhabricator

D18425.id44274.diff
No OneTemporary

D18425.id44274.diff

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

Mime Type
text/plain
Expires
Fri, Mar 7, 7:53 PM (2 w, 19 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7346579
Default Alt Text
D18425.id44274.diff (1 KB)

Event Timeline