mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
batch replacing 'actacp' by 'acp'
This commit is contained in:
parent
cf9b9b3c75
commit
37662a4187
@ -39,7 +39,7 @@ Household::class,,,household
|
|||||||
,HouseholdComposition::class,household.compositions,composition
|
,HouseholdComposition::class,household.compositions,composition
|
||||||
Activity::class,,,activity
|
Activity::class,,,activity
|
||||||
,Person::class,activity.person,actperson
|
,Person::class,activity.person,actperson
|
||||||
,AccompanyingPeriod::class,activity.accompanyingPeriod,actacp
|
,AccompanyingPeriod::class,activity.accompanyingPeriod,acp
|
||||||
,Person::class,activity_person_having_activity.person,person_person_having_activity
|
,Person::class,activity_person_having_activity.person,person_person_having_activity
|
||||||
,ActivityReason::class,activity_person_having_activity.reasons,reasons_person_having_activity
|
,ActivityReason::class,activity_person_having_activity.reasons,reasons_person_having_activity
|
||||||
,ActivityType::class,activity.activityType,acttype
|
,ActivityType::class,activity.activityType,acttype
|
||||||
|
|
@ -47,7 +47,7 @@ These are alias conventions :
|
|||||||
| | HouseholdComposition::class | household.compositions | composition |
|
| | HouseholdComposition::class | household.compositions | composition |
|
||||||
| Activity::class | | | activity |
|
| Activity::class | | | activity |
|
||||||
| | Person::class | activity.person | actperson |
|
| | Person::class | activity.person | actperson |
|
||||||
| | AccompanyingPeriod::class | activity.accompanyingPeriod | actacp |
|
| | AccompanyingPeriod::class | activity.accompanyingPeriod | acp |
|
||||||
| | Person::class | activity\_person\_having\_activity.person | person\_person\_having\_activity |
|
| | Person::class | activity\_person\_having\_activity.person | person\_person\_having\_activity |
|
||||||
| | ActivityReason::class | activity\_person\_having\_activity.reasons | reasons\_person\_having\_activity |
|
| | ActivityReason::class | activity\_person\_having\_activity.reasons | reasons\_person\_having\_activity |
|
||||||
| | ActivityType::class | activity.activityType | acttype |
|
| | ActivityType::class | activity.activityType | acttype |
|
||||||
|
@ -86,7 +86,7 @@ class CountActivity implements ExportInterface, GroupedExportInterface
|
|||||||
{
|
{
|
||||||
$qb = $this->repository->createQueryBuilder('activity');
|
$qb = $this->repository->createQueryBuilder('activity');
|
||||||
|
|
||||||
if (!in_array('actacp', $qb->getAllAliases(), true)) {
|
if (!in_array('acp', $qb->getAllAliases(), true)) {
|
||||||
$qb->join('activity.accompanyingPeriod', 'acp');
|
$qb->join('activity.accompanyingPeriod', 'acp');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -85,7 +85,7 @@ class SumActivityDuration implements ExportInterface, GroupedExportInterface
|
|||||||
{
|
{
|
||||||
$qb = $this->repository->createQueryBuilder('activity');
|
$qb = $this->repository->createQueryBuilder('activity');
|
||||||
|
|
||||||
if (!in_array('actacp', $qb->getAllAliases(), true)) {
|
if (!in_array('acp', $qb->getAllAliases(), true)) {
|
||||||
$qb->join('activity.accompanyingPeriod', 'acp');
|
$qb->join('activity.accompanyingPeriod', 'acp');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -85,7 +85,7 @@ class SumActivityVisitDuration implements ExportInterface, GroupedExportInterfac
|
|||||||
{
|
{
|
||||||
$qb = $this->repository->createQueryBuilder('activity');
|
$qb = $this->repository->createQueryBuilder('activity');
|
||||||
|
|
||||||
if (!in_array('actacp', $qb->getAllAliases(), true)) {
|
if (!in_array('acp', $qb->getAllAliases(), true)) {
|
||||||
$qb->join('activity.accompanyingPeriod', 'acp');
|
$qb->join('activity.accompanyingPeriod', 'acp');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -51,7 +51,7 @@ final class BySocialActionAggregatorTest extends AbstractAggregatorTest
|
|||||||
$em->createQueryBuilder()
|
$em->createQueryBuilder()
|
||||||
->select('count(activity.id)')
|
->select('count(activity.id)')
|
||||||
->from(Activity::class, 'activity')
|
->from(Activity::class, 'activity')
|
||||||
->join('activity.accompanyingPeriod', 'actacp')
|
->join('activity.accompanyingPeriod', 'acp')
|
||||||
->join('activity.socialActions', 'actsocialaction')
|
->join('activity.socialActions', 'actsocialaction')
|
||||||
,
|
,
|
||||||
];
|
];
|
||||||
|
@ -51,7 +51,7 @@ final class BySocialIssueAggregatorTest extends AbstractAggregatorTest
|
|||||||
$em->createQueryBuilder()
|
$em->createQueryBuilder()
|
||||||
->select('count(activity.id)')
|
->select('count(activity.id)')
|
||||||
->from(Activity::class, 'activity')
|
->from(Activity::class, 'activity')
|
||||||
->join('activity.accompanyingPeriod', 'actacp')
|
->join('activity.accompanyingPeriod', 'acp')
|
||||||
->join('activity.socialIssues', 'actsocialissue')
|
->join('activity.socialIssues', 'actsocialissue')
|
||||||
,
|
,
|
||||||
];
|
];
|
||||||
|
@ -51,7 +51,7 @@ final class ByThirdpartyAggregatorTest extends AbstractAggregatorTest
|
|||||||
$em->createQueryBuilder()
|
$em->createQueryBuilder()
|
||||||
->select('count(activity.id)')
|
->select('count(activity.id)')
|
||||||
->from(Activity::class, 'activity')
|
->from(Activity::class, 'activity')
|
||||||
->join('activity.accompanyingPeriod', 'actacp')
|
->join('activity.accompanyingPeriod', 'acp')
|
||||||
->join('activity.thirdParties', 'acttparty')
|
->join('activity.thirdParties', 'acttparty')
|
||||||
,
|
,
|
||||||
];
|
];
|
||||||
|
@ -51,7 +51,7 @@ final class ByUserAggregatorTest extends AbstractAggregatorTest
|
|||||||
$em->createQueryBuilder()
|
$em->createQueryBuilder()
|
||||||
->select('count(activity.id)')
|
->select('count(activity.id)')
|
||||||
->from(Activity::class, 'activity')
|
->from(Activity::class, 'activity')
|
||||||
->join('activity.accompanyingPeriod', 'actacp')
|
->join('activity.accompanyingPeriod', 'acp')
|
||||||
->join('activity.users', 'actusers')
|
->join('activity.users', 'actusers')
|
||||||
,
|
,
|
||||||
];
|
];
|
||||||
|
@ -59,7 +59,7 @@ final class DateAggregatorTest extends AbstractAggregatorTest
|
|||||||
$em->createQueryBuilder()
|
$em->createQueryBuilder()
|
||||||
->select('count(activity.id)')
|
->select('count(activity.id)')
|
||||||
->from(Activity::class, 'activity')
|
->from(Activity::class, 'activity')
|
||||||
->join('activity.accompanyingPeriod', 'actacp')
|
->join('activity.accompanyingPeriod', 'acp')
|
||||||
,
|
,
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
@ -51,7 +51,7 @@ final class LocationTypeAggregatorTest extends AbstractAggregatorTest
|
|||||||
$em->createQueryBuilder()
|
$em->createQueryBuilder()
|
||||||
->select('count(activity.id)')
|
->select('count(activity.id)')
|
||||||
->from(Activity::class, 'activity')
|
->from(Activity::class, 'activity')
|
||||||
->join('activity.accompanyingPeriod', 'actacp')
|
->join('activity.accompanyingPeriod', 'acp')
|
||||||
->join('activity.location', 'actloc')
|
->join('activity.location', 'actloc')
|
||||||
,
|
,
|
||||||
];
|
];
|
||||||
|
@ -51,7 +51,7 @@ final class UserScopeAggregatorTest extends AbstractAggregatorTest
|
|||||||
$em->createQueryBuilder()
|
$em->createQueryBuilder()
|
||||||
->select('count(activity.id)')
|
->select('count(activity.id)')
|
||||||
->from(Activity::class, 'activity')
|
->from(Activity::class, 'activity')
|
||||||
->join('activity.accompanyingPeriod', 'actacp')
|
->join('activity.accompanyingPeriod', 'acp')
|
||||||
->join('activity.user', 'actuser')
|
->join('activity.user', 'actuser')
|
||||||
,
|
,
|
||||||
];
|
];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user