aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-07-27 16:14:46 -0700
committerredmatrix <git@macgirvin.com>2016-07-27 16:14:46 -0700
commit5f3a8cbe937a22809947b1f7612a089c9f601085 (patch)
treea246d99e65151049ee0428c0824dee7e50b1f8f1 /Zotlabs/Module
parentf808f1601b548ee4830f7a16b479eadce3b66094 (diff)
downloadvolse-hubzilla-5f3a8cbe937a22809947b1f7612a089c9f601085.tar.gz
volse-hubzilla-5f3a8cbe937a22809947b1f7612a089c9f601085.tar.bz2
volse-hubzilla-5f3a8cbe937a22809947b1f7612a089c9f601085.zip
add the hidden flag also
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r--Zotlabs/Module/Ratingsearch.php3
1 files changed, 2 insertions, 1 deletions
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)
);