mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
FIX [document][list] 'or' query statements were not added to query for rendez vous documents causing all rendez-vous documents from all users to appear in dossiers that had a parcours. 'Or' statements add to where clause
This commit is contained in:
parent
15bf4d6d6d
commit
767ed89f80
@ -147,6 +147,9 @@ final readonly class AccompanyingPeriodCalendarGenericDocProvider implements Gen
|
||||
|
||||
return $query;
|
||||
}
|
||||
|
||||
$query->addWhereClause(implode(" OR ", $or), $orParams, $orTypes);
|
||||
|
||||
return $this->addWhereClausesToQuery($query, $startDate, $endDate, $content);
|
||||
}
|
||||
|
||||
@ -185,6 +188,8 @@ final readonly class AccompanyingPeriodCalendarGenericDocProvider implements Gen
|
||||
);
|
||||
}
|
||||
|
||||
dump($query);
|
||||
|
||||
return $query;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user