diff options
author | zotlabs <mike@macgirvin.com> | 2017-11-03 15:08:56 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-11-03 15:08:56 -0700 |
commit | d450fc61c41d44c0acf60522001e7d5ebd451c46 (patch) | |
tree | 3af86562104e2a66499eab38f5cb432f19e8d5ae | |
parent | fae9c236371ba70b2ac7624d6020c76a77c1944d (diff) | |
download | volse-hubzilla-d450fc61c41d44c0acf60522001e7d5ebd451c46.tar.gz volse-hubzilla-d450fc61c41d44c0acf60522001e7d5ebd451c46.tar.bz2 volse-hubzilla-d450fc61c41d44c0acf60522001e7d5ebd451c46.zip |
more search work
-rw-r--r-- | Zotlabs/Module/Search.php | 3 | ||||
-rw-r--r-- | view/pdl/mod_search.pdl | 1 |
2 files changed, 1 insertions, 3 deletions
diff --git a/Zotlabs/Module/Search.php b/Zotlabs/Module/Search.php index 7bc3429b1..a572a5a42 100644 --- a/Zotlabs/Module/Search.php +++ b/Zotlabs/Module/Search.php @@ -56,8 +56,7 @@ class Search extends \Zotlabs\Web\Controller { $static = ((array_key_exists('static',$_REQUEST)) ? intval($_REQUEST['static']) : 0); - if((! local_channel()) || (! feature_enabled(local_channel(),'savedsearch'))) - $o .= search($search,'search-box','/search',((local_channel()) ? true : false)); + $o .= search($search,'search-box','/search',((local_channel()) ? true : false)); if(strpos($search,'#') === 0) { $tag = true; diff --git a/view/pdl/mod_search.pdl b/view/pdl/mod_search.pdl index 0bcdfdee3..e69657dac 100644 --- a/view/pdl/mod_search.pdl +++ b/view/pdl/mod_search.pdl @@ -1,5 +1,4 @@ [region=aside] -[widget=sitesearch][/widget] [/region] [region=right_aside] [widget=notifications][/widget] |