mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-16 20:05:14 +02:00
ignore suggestions
This commit is contained in:
parent
4f4b03367a
commit
014c91431e
6 changed files with 59 additions and 5 deletions
|
@ -171,9 +171,11 @@ function suggestion_query($uid, $start = 0, $limit = 40) {
|
|||
$r = q("SELECT count(glink.gcid) as `total`, gcontact.* from gcontact
|
||||
left join glink on glink.gcid = gcontact.id
|
||||
where uid = %d and not gcontact.nurl in ( select nurl from contact where uid = %d)
|
||||
and not gcontact.id in ( select gcid from gcign where uid = %d )
|
||||
group by glink.gcid order by total desc limit %d, %d ",
|
||||
intval($uid),
|
||||
intval($uid),
|
||||
intval($uid),
|
||||
intval($start),
|
||||
intval($limit)
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue