mirror of
				https://gitlab.com/Chill-Projet/chill-bundles.git
				synced 2025-10-31 01:08:26 +00:00 
			
		
		
		
	just mark other uses with mainScope and userJob !!
This commit is contained in:
		| @@ -190,7 +190,7 @@ final readonly class ListAsideActivity implements ListInterface, GroupedExportIn | ||||
|             ->addSelect('aside.updatedAt AS updatedAt') | ||||
|             ->addSelect('IDENTITY(aside.agent) AS agent_id') | ||||
|             ->addSelect('IDENTITY(aside.createdBy) AS creator_id') | ||||
|             ->addSelect('IDENTITY(agent.mainScope) AS main_scope') | ||||
|             ->addSelect('IDENTITY(agent.mainScope) AS main_scope') /// | ||||
|             ->addSelect('IDENTITY(agent.mainCenter) AS main_center') | ||||
|             ->addSelect('IDENTITY(aside.type) AS aside_activity_type') | ||||
|             ->addSelect('aside.date') | ||||
|   | ||||
| @@ -59,10 +59,10 @@ final readonly class UserExportController | ||||
|                     'label', | ||||
|                     'mainCenter_id' , | ||||
|                     'mainCenter_name', | ||||
|                     'mainScope_id', | ||||
|                     'mainScope_name', | ||||
|                     'userJob_id', | ||||
|                     'userJob_name', | ||||
|                     'mainScope_id', /// | ||||
|                     'mainScope_name', /// | ||||
|                     'userJob_id', /// | ||||
|                     'userJob_name', /// | ||||
|                     'currentLocation_id', | ||||
|                     'currentLocation_name', | ||||
|                     'mainLocation_id', | ||||
|   | ||||
| @@ -108,7 +108,7 @@ final readonly class UserRepository implements UserRepositoryInterface | ||||
|             LEFT JOIN u.mainScope mainScope | ||||
|             LEFT JOIN u.userJob userJob | ||||
|             ORDER BY u.label | ||||
|         DQL); | ||||
|         DQL); /// mainScope userJob | ||||
|  | ||||
|         $query = $this->entityManager->createQuery($dql) | ||||
|             ->setHydrationMode(AbstractQuery::HYDRATE_ARRAY) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user