Revision 5c833ab8
Von Tamino Steinert vor etwa 1 Jahr hinzugefügt
SL/DB/Manager/EmailJournal.pm | ||
---|---|---|
17 | 17 |
columns => { |
18 | 18 |
SIMPLE => 'ALL', |
19 | 19 |
sender => 'sender.name', |
20 |
linked => "( |
|
21 |
SELECT count(*) from record_links where |
|
22 |
( record_links.from_table = 'email_journal'::varchar(50) |
|
23 |
AND record_links.from_id = email_journal.id |
|
24 |
) OR ( |
|
25 |
record_links.to_table = 'email_journal'::varchar(50) |
|
26 |
AND record_links.to_id = email_journal.id |
|
27 |
) |
|
28 |
) > 0" |
|
20 | 29 |
}, |
21 | 30 |
); |
22 | 31 |
} |
Auch abrufbar als: Unified diff
EmailJournal: Report: Sortiere nach verknüpften Emails