mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
Fix bug on admin Location Page with availableForUsers value
This commit is contained in:
parent
a9290eb3fe
commit
2e822a9486
@ -28,7 +28,7 @@ class LocationController extends CRUDController
|
|||||||
|
|
||||||
protected function customizeQuery(string $action, Request $request, $query): void
|
protected function customizeQuery(string $action, Request $request, $query): void
|
||||||
{
|
{
|
||||||
$query->where('e.availableForUsers = "TRUE"');
|
$query->where('e.availableForUsers = TRUE');
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function orderQuery(string $action, $query, Request $request, PaginatorInterface $paginator)
|
protected function orderQuery(string $action, $query, Request $request, PaginatorInterface $paginator)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user