1
0
Fork 0

Issue 2772: Pending contacts should now be displayed

This commit is contained in:
Michael 2016-11-28 22:11:13 +00:00
commit 3a76a6766f
7 changed files with 23 additions and 23 deletions

View file

@ -439,7 +439,7 @@ These Fields are not added below (yet). They are here to for bug search.
function item_joins() {
return "STRAIGHT_JOIN `contact` ON `contact`.`id` = `item`.`contact-id` AND
NOT `contact`.`blocked`
(NOT `contact`.`blocked` OR `contact`.`pending`)
LEFT JOIN `contact` AS `author` ON `author`.`id`=`item`.`author-id`
LEFT JOIN `contact` AS `owner` ON `owner`.`id`=`item`.`owner-id`";
}