diff --git a/lib/Alchemy/Phrasea/Collection/CollectionService.php b/lib/Alchemy/Phrasea/Collection/CollectionService.php index acc1db6772..48ccbac843 100644 --- a/lib/Alchemy/Phrasea/Collection/CollectionService.php +++ b/lib/Alchemy/Phrasea/Collection/CollectionService.php @@ -319,7 +319,9 @@ class CollectionService $result = $userQuery->on_base_ids([ $reference->getBaseId()] ) ->who_have_right([\ACL::ORDER_MASTER]) - ->execute()->get_results(); + ->include_templates(true) + ->execute() + ->get_results(); /** @var ACLProvider $acl */ $acl = $this->app['acl']; diff --git a/lib/Alchemy/Phrasea/Controller/Admin/CollectionController.php b/lib/Alchemy/Phrasea/Controller/Admin/CollectionController.php index 3304a19de8..271e7a49df 100644 --- a/lib/Alchemy/Phrasea/Controller/Admin/CollectionController.php +++ b/lib/Alchemy/Phrasea/Controller/Admin/CollectionController.php @@ -50,6 +50,7 @@ class CollectionController extends Controller $query = $this->createUserQuery(); $admins = $query->on_base_ids([$bas_id]) ->who_have_right([\ACL::ORDER_MASTER]) + ->include_templates(true) ->execute() ->get_results(); } diff --git a/lib/Alchemy/Phrasea/Controller/Admin/UserController.php b/lib/Alchemy/Phrasea/Controller/Admin/UserController.php index 65da919edd..35ff646b8c 100644 --- a/lib/Alchemy/Phrasea/Controller/Admin/UserController.php +++ b/lib/Alchemy/Phrasea/Controller/Admin/UserController.php @@ -233,6 +233,7 @@ class UserController extends Controller ->who_have_right($have_right) ->who_have_not_right($have_not_right) ->on_base_ids($on_base) + ->include_templates(true) ->execute() ->get_results();