aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Dirsearch.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-01-10 15:32:04 -0800
committerzotlabs <mike@macgirvin.com>2018-01-10 15:32:04 -0800
commitc09bab466a989a606fd1940a667eb95b90fabe09 (patch)
tree7b0e8d56568e9e34ed50fc7f77da27b429150e16 /Zotlabs/Module/Dirsearch.php
parentd0d72c7fd2a7c96840fa95b8a18d66eff1fb139e (diff)
downloadvolse-hubzilla-c09bab466a989a606fd1940a667eb95b90fabe09.tar.gz
volse-hubzilla-c09bab466a989a606fd1940a667eb95b90fabe09.tar.bz2
volse-hubzilla-c09bab466a989a606fd1940a667eb95b90fabe09.zip
hubzilla issue #945 continued: We previously blocked directory keywords when searching the local directory as it produced errant results and included results from the entire directory space (an issue that was resolved satisfactorily by that fix sometime in the past). As a result of issue #945 this was reworked so that we should return correct results for keywords when searching either the local directory or a standalone directory.
Diffstat (limited to 'Zotlabs/Module/Dirsearch.php')
-rw-r--r--Zotlabs/Module/Dirsearch.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Dirsearch.php b/Zotlabs/Module/Dirsearch.php
index e6cf5449a..53ec1a850 100644
--- a/Zotlabs/Module/Dirsearch.php
+++ b/Zotlabs/Module/Dirsearch.php
@@ -313,7 +313,7 @@ class Dirsearch extends \Zotlabs\Web\Controller {
$ret['results'] = $entries;
if($kw) {
- $k = dir_tagadelic($kw);
+ $k = dir_tagadelic($kw, $hub);
if($k) {
$ret['keywords'] = array();
foreach($k as $kv) {