issue #226
This commit is contained in:
parent
60e94b315c
commit
f1e73abd21
@ -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;
|
||||
|
@ -57,12 +57,12 @@ function search_content(&$a,$update = 0, $load = false) {
|
||||
}
|
||||
if(strpos($search,'@') === 0) {
|
||||
$search = substr($search,1);
|
||||
goaway(z_root() . '/directory' . '?f=1&search=' . $search);
|
||||
goaway(z_root() . '/directory' . '?f=1&navsearch=1&search=' . $search);
|
||||
}
|
||||
|
||||
// look for a naked webbie
|
||||
if(strpos($search,'@') !== false) {
|
||||
goaway(z_root() . '/directory' . '?f=1&search=' . $search);
|
||||
goaway(z_root() . '/directory' . '?f=1&navsearch=1&search=' . $search);
|
||||
}
|
||||
|
||||
if(! $search)
|
||||
|
@ -1 +1 @@
|
||||
2015-04-03.991
|
||||
2015-04-05.993
|
||||
|
Reference in New Issue
Block a user