This commit is contained in:
friendica 2015-04-05 21:32:54 -07:00
parent 60e94b315c
commit f1e73abd21
3 changed files with 7 additions and 3 deletions

View File

@ -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;

View File

@ -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)

View File

@ -1 +1 @@
2015-04-03.991
2015-04-05.993