TP-20240927-importfixes #115

Merged
hsh-michaelhoennig merged 33 commits from TP-20240927-importfixes into master 2024-11-21 10:27:36 +01:00
Showing only changes of commit bb2bdea788 - Show all commits

View File

@ -41,7 +41,6 @@ SELECT
JOIN hs_office.relation AS relation ON relation.anchoruuid = rs1.holderuuid 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.contact AS c ON c.uuid = relation.contactuuid
JOIN hs_office.person AS per ON per.uuid = relation.holderuuid JOIN hs_office.person AS per ON per.uuid = relation.holderuuid
where debitor.defaultprefix != 'hsh' WHERE (debitor.defaultprefix != 'hsh' OR (p.partnernumber = 10000 AND c.emailaddresses->>'main' = 'hostmaster@hostsharing.net'))
and relation.type != 'DEBITOR' GROUP BY c.emailaddresses, c.phonenumbers;
group by c.emailaddresses, c.phonenumbers;
--// --//