Revision 99382a64
Von Jan Büren vor etwa 5 Jahren hinzugefügt
SL/OE.pm | ||
---|---|---|
105 | 105 |
FROM record_links rl1 |
106 | 106 |
JOIN record_links rl2 ON (rl1.to_table = rl2.from_table AND rl1.to_id = rl2.from_id) |
107 | 107 |
JOIN record_links rl3 ON (rl2.to_table = rl3.from_table AND rl2.to_id = rl3.from_id) |
108 |
WHERE (rl1.from_table = 'oe') AND rl2.to_table = 'ar'
|
|
108 |
WHERE rl1.from_table = 'oe' AND rl2.to_table = 'ar' AND rl3.to_table = 'ar'
|
|
109 | 109 |
) rl |
110 | 110 |
LEFT JOIN ar ON ar.id = rl.to_id |
111 | 111 |
|
Auch abrufbar als: Unified diff
zu #406 nicht zuviele ids (email journal) als ar.ids verwenden