hide hidden entries
This commit is contained in:
parent
4062be2869
commit
6845d22285
@ -264,10 +264,12 @@ function suggestion_query($uid, $myxchan, $start = 0, $limit = 80) {
|
|||||||
where not xchan_hash in ( select abook_xchan from abook where abook_channel = %d )
|
where not xchan_hash in ( select abook_xchan from abook where abook_channel = %d )
|
||||||
and not xchan_hash in ( select xchan from xign where uid = %d )
|
and not xchan_hash in ( select xchan from xign where uid = %d )
|
||||||
and xchan_hash != '%s'
|
and xchan_hash != '%s'
|
||||||
|
and not ( xchan_flags & %d )
|
||||||
group by xchan_hash order by total desc limit %d, %d ",
|
group by xchan_hash order by total desc limit %d, %d ",
|
||||||
intval($uid),
|
intval($uid),
|
||||||
intval($uid),
|
intval($uid),
|
||||||
dbesc($myxchan),
|
dbesc($myxchan),
|
||||||
|
intval(XCHAN_FLAGS_HIDDEN),
|
||||||
intval($start),
|
intval($start),
|
||||||
intval($limit)
|
intval($limit)
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user