Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| a04c6de362 |
@@ -239,6 +239,14 @@ class OrganizationListingTemplateDataListener
|
|||||||
[ParameterType::STRING, ParameterType::STRING, ArrayParameterType::INTEGER],
|
[ParameterType::STRING, ParameterType::STRING, ArrayParameterType::INTEGER],
|
||||||
)->fetchAllAssociative();
|
)->fetchAllAssociative();
|
||||||
|
|
||||||
|
if ([] === $rows) {
|
||||||
|
$rows = $this->connection->executeQuery(
|
||||||
|
'SELECT r.pid AS organization_id, r.tag_id, t.tag AS label FROM tl_tags_rel r INNER JOIN tl_tags t ON t.id = r.tag_id WHERE r.ptable = ? AND r.pid IN (?) ORDER BY r.pid ASC, r.tag_id ASC',
|
||||||
|
['tl_organization', $organizationIds],
|
||||||
|
[ParameterType::STRING, ArrayParameterType::INTEGER],
|
||||||
|
)->fetchAllAssociative();
|
||||||
|
}
|
||||||
|
|
||||||
$map = [];
|
$map = [];
|
||||||
$seen = [];
|
$seen = [];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user