peoplefind widget should honour directory option settings (such as this site only).

This commit is contained in:
zotlabs
2016-12-30 13:09:35 -08:00
parent 3dd4bf9955
commit ba8a5ac82b
2 changed files with 1 additions and 1 deletions

View File

@@ -68,6 +68,7 @@ class Directory extends \Zotlabs\Web\Controller {
$observer = get_observer_hash();
$globaldir = get_directory_setting($observer, 'globaldir');
// override your personal global search pref if we're doing a navbar search of the directory
if(intval($_REQUEST['navsearch']))
$globaldir = 1;