TP-20240927-importfixes #115
@ -41,7 +41,6 @@ SELECT
|
||||
JOIN hs_office.relation AS relation ON relation.anchoruuid = rs1.holderuuid
|
||||
JOIN hs_office.contact AS c ON c.uuid = relation.contactuuid
|
||||
JOIN hs_office.person AS per ON per.uuid = relation.holderuuid
|
||||
where debitor.defaultprefix != 'hsh'
|
||||
and relation.type != 'DEBITOR'
|
||||
group by c.emailaddresses, c.phonenumbers;
|
||||
WHERE (debitor.defaultprefix != 'hsh' OR (p.partnernumber = 10000 AND c.emailaddresses->>'main' = 'hostmaster@hostsharing.net'))
|
||||
GROUP BY c.emailaddresses, c.phonenumbers;
|
||||
--//
|
Loading…
Reference in New Issue
Block a user