some issues with saved search - tags and connection searches weren't being saved.

This commit is contained in:
redmatrix
2016-08-31 21:57:08 -07:00
parent 8ba1bf02a4
commit fa8febbb31
5 changed files with 45 additions and 3 deletions

View File

@@ -61,6 +61,7 @@ class Network extends \Zotlabs\Web\Controller {
$search = (($_GET['search']) ? $_GET['search'] : '');
if($search) {
$_GET['netsearch'] = escape_tags($search);
if(strpos($search,'@') === 0) {
$r = q("select abook_id from abook left join xchan on abook_xchan = xchan_hash where xchan_name = '%s' and abook_channel = %d limit 1",
dbesc(substr($search,1)),