aboutsummaryrefslogtreecommitdiffstats
path: root/mod/directory.php
diff options
context:
space:
mode:
authorfriendica <redmatrix@redmatrix.me>2015-04-05 21:32:54 -0700
committerfriendica <redmatrix@redmatrix.me>2015-04-05 21:32:54 -0700
commitf1e73abd21ac99b00038242b8a4e882e7f6dfc12 (patch)
tree86d2c682970e66ad85ae726f1021e0ccf8399933 /mod/directory.php
parent60e94b315cb326b068eaccb7705ecc02f26302f0 (diff)
downloadvolse-hubzilla-f1e73abd21ac99b00038242b8a4e882e7f6dfc12.tar.gz
volse-hubzilla-f1e73abd21ac99b00038242b8a4e882e7f6dfc12.tar.bz2
volse-hubzilla-f1e73abd21ac99b00038242b8a4e882e7f6dfc12.zip
issue #226
Diffstat (limited to 'mod/directory.php')
-rw-r--r--mod/directory.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/mod/directory.php b/mod/directory.php
index 274584862..87dadc58f 100644
--- a/mod/directory.php
+++ b/mod/directory.php
@@ -51,6 +51,10 @@ function directory_content(&$a) {
$observer = get_observer_hash();
$globaldir = get_globaldir_setting($observer);
+ // override your personal global search pref if we're doing a navbar search of the directory
+ if(intval($_REQUEST['navsearch']))
+ $globaldir = 1;
+
$safe_mode = get_safemode_setting($observer);
$pubforums = null;