Applied a change to the community query that was already done in another branch.
This commit is contained in:
parent
2ac42036fb
commit
4757bf5331
|
@ -129,7 +129,7 @@ function community_getitems($start, $itemspage) {
|
||||||
AND `item`.`allow_cid` = '' AND `item`.`allow_gid` = ''
|
AND `item`.`allow_cid` = '' AND `item`.`allow_gid` = ''
|
||||||
AND `item`.`deny_cid` = '' AND `item`.`deny_gid` = ''
|
AND `item`.`deny_cid` = '' AND `item`.`deny_gid` = ''
|
||||||
INNER JOIN `contact` ON `contact`.`id` = `thread`.`contact-id`
|
INNER JOIN `contact` ON `contact`.`id` = `thread`.`contact-id`
|
||||||
AND `contact`.`blocked` = 0 AND `contact`.`pending` = 0 AND (`contact`.`self` OR `contact`.`remote_self`)
|
AND `contact`.`blocked` = 0 AND `contact`.`pending` = 0 AND `contact`.`self`
|
||||||
WHERE `thread`.`visible` = 1 AND `thread`.`deleted` = 0 and `thread`.`moderated` = 0
|
WHERE `thread`.`visible` = 1 AND `thread`.`deleted` = 0 and `thread`.`moderated` = 0
|
||||||
AND `thread`.`private` = 0 AND `thread`.`wall` = 1
|
AND `thread`.`private` = 0 AND `thread`.`wall` = 1
|
||||||
ORDER BY `thread`.`received` DESC LIMIT %d, %d ",
|
ORDER BY `thread`.`received` DESC LIMIT %d, %d ",
|
||||||
|
|
Loading…
Reference in a new issue