From 5f3a8cbe937a22809947b1f7612a089c9f601085 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Wed, 27 Jul 2016 16:14:46 -0700 Subject: add the hidden flag also --- Zotlabs/Module/Ratingsearch.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Zotlabs') diff --git a/Zotlabs/Module/Ratingsearch.php b/Zotlabs/Module/Ratingsearch.php index b595e16b1..dcbfd6a9b 100644 --- a/Zotlabs/Module/Ratingsearch.php +++ b/Zotlabs/Module/Ratingsearch.php @@ -58,7 +58,8 @@ class Ratingsearch extends \Zotlabs\Web\Controller { $ret['success'] = true; $r = q("select * from xlink left join xchan on xlink_xchan = xchan_hash - where xlink_link = '%s' and xlink_rating != 0 and xlink_static = 1 and xchan_orphan = 0 and xchan_deleted = 0 + where xlink_link = '%s' and xlink_rating != 0 and xlink_static = 1 + and xchan_hidden = 0 and xchan_orphan = 0 and xchan_deleted = 0 order by xchan_name asc", dbesc($target) ); -- cgit v1.2.3