3426 Commits

Author SHA1 Message Date
451f7f4230 [person][Search] Feature: use the current center history when searching
for person
2022-09-27 10:22:15 +02:00
49d2e98a1a [person] Feature: add a person's center history
The association between Person and Center is now stored in a dedicated
Entity: `PersonCenterHistory`, which have a date interval (start date
and endDate). The SQL counterpart is a table, with a constraint which
ensure that no person might be associated with two center at the same time.

For ease, a view is created to get the current center associated with
the person.

The dedicated migration creates also:

* indexes for a rapid search for person at current date;
* and populate the table from current data, setting the startdate to the
  person's creation date and time if any, `NOW()` unless.

The `Person` entity is also updated to use the information from the
PersonCenterHistory classes, but this commit does not yet delete the
`Center` column.
2022-09-26 21:11:01 +02:00
9f2ecff63e exports: ResidentialAddressAt ThirdParty/User Filter, improve query (issue637 et issue638) 2022-09-26 18:52:00 +02:00
78e00b8eba exports: improve translations 2022-09-26 17:40:58 +02:00
e3764f6f91 [export][person] Fixed: use left join on association between works and
goal/results
2022-09-26 17:02:28 +02:00
95f7622923 [Export][person] Fixed: error and more precision on household
composition

A filter and two aggregators create a join between composition and
household, but with a parameter at different date.

Each aggregator and filter now have a custom alias, to allow to set this
date parameter on each join.
2022-09-26 16:45:36 +02:00
75713af0e0 [export][person] fix alias name for person in CountPersonWithAccompanyingCourse export 2022-09-23 21:58:50 +02:00
6cdb3033db [export][person] Fixed: filter per person's age: use calculatio non year interval 2022-09-23 21:58:38 +02:00
89bdc76565 handle unknown in gender aggregator 2022-09-22 18:15:59 +02:00
4fe4f6a877 DXFeature: ClosingMotiveRepository implements correct interace 2022-09-22 14:02:00 +02:00
cf9b9b3c75 [person][export] Fixed: use left join for related entities in accompanying course aggregators 2022-09-21 17:30:00 +02:00
ca6fde934b [export][person] Fixed: fixed inconsistency in requestor query
A condition was not present in a subquery, causing to take all courses into account,
not the one concerned by the filter
2022-09-21 17:28:55 +02:00
4e82126bed [activity][export] Fixed: fixed inconsistencies with date filters 2022-09-21 17:28:55 +02:00
3c8dbe56fc exports: create new aggregator tests + minor corrections in aggregators 2022-09-21 14:31:46 +02:00
7ef84b9fd0 exports: create new aggregator test (untested) 2022-09-21 13:27:26 +02:00
eb112b8a85 exports: remove duplicate test
cfr commit 18a6a5a7ebeefc5999d16f7a3edf9bf89ba8e9e8
2022-09-21 10:33:49 +02:00
390009b395 export: create new filter tests 2022-09-21 10:17:53 +02:00
37dcbe92c0 export: fix translation 2022-09-21 10:17:53 +02:00
b25a1c3cbb correct import path with filter/aggr 2022-09-21 10:17:53 +02:00
d599792de8 enable commented filter (!?) 2022-09-21 10:17:06 +02:00
052c0e1969 [CS] remove dead code 2022-09-20 18:50:04 +02:00
59b22dbb6d [person][export] Fixed: rename the alias for accompanying_period to acp in filter associated with person 2022-09-20 17:02:35 +02:00
35a2d08267 Merge branch 'master' into 111_exports_suite 2022-09-20 16:37:33 +02:00
cdb9d967ff [person] Feature: on evaluation, add an url field on the admin 2022-09-20 11:50:01 +02:00
91af01336a fix goalResult aggregator 2022-09-19 13:51:03 +02:00
37d49e1123 fix goal aggregator error 2022-09-19 11:46:53 +02:00
d30ac75995 exports: create workAction goalResult aggregator 2022-09-19 11:22:41 +02:00
841eb57144 GeographicalUnit Filter: add join clauses 2022-09-19 09:07:49 +02:00
d907357748 Merge branch '__SocialWorkType_finish' into 111_exports_suite 2022-09-19 09:05:39 +02:00
62ff4998a0 Fixed: annotation schema for ManyToMany relationship between Evaluation and SocialAction
Before this commit, the owning side of the relationship between Evaluation and SocialAction was declared twice.
2022-09-17 09:10:28 +02:00
d716e0c2c2 add missing roles and adapt role voter for exports houshold and activity 2022-09-17 08:23:28 +02:00
78ea990189 allow voter to handle export about Accompanying periods on Center 2022-09-17 08:23:28 +02:00
91a5db4c14 fix origin alias in qb 2022-09-15 16:07:00 +02:00
5dcd157bd0 export: move Vue component in ChillPersonBundle 2022-09-14 18:16:28 +02:00
fb60808dca export translations: improve title translations in filter/aggrs stack 2022-09-14 17:53:07 +02:00
6c191f584f fix bug when member is non-positionné, case not taken into account in if-condition 2022-09-14 12:09:25 +00:00
478afc893b exports: fix alterQuery and DescribeAction in SocialWorkTypeFilter 2022-09-14 12:34:57 +02:00
4cb6e8e564 exports: fix buildForm in SocialWorkType Filter 2022-09-14 12:34:57 +02:00
71f49db2f4 disable unstable filters/aggregators 2022-09-13 21:05:22 +02:00
18a6a5a7eb exports: move acp ActivityType filter in ChillActivityBundle 2022-09-13 13:27:24 +02:00
ef7a388f38 exports: fix resetDQLPart('from') issue (632)
https://gitlab.com/champs-libres/departement-de-la-vendee/chill/-/issues/632
2022-09-13 12:38:33 +02:00
17494b3e9f Merge branch 'export_vue_multiselect' into 111_exports_suite 2022-09-08 14:27:58 +02:00
661e5458ee bam 2022-09-08 14:17:17 +02:00
307280f595 Merge branch '111_exports_suite' of gitlab.com:Chill-Projet/chill-bundles into 111_exports_suite 2022-09-08 12:50:34 +02:00
712c7bc492 add actionRender in construct, it was missing 2022-09-08 12:04:11 +02:00
a817b0bf4c exports: re-enable all modifiers stack with shared filters/aggrs 2022-09-08 11:31:23 +02:00
283de2cab8 add actionRender in construct, it was missing 2022-09-08 11:03:20 +02:00
f92ac05ed7 Merge branch '111_exports_suite' into calendar/finalization 2022-09-08 10:19:53 +02:00
1dcff2f23c exports: add condition with distinct alias on join clauses 2022-09-07 21:40:53 +02:00
81359877c4 exports: add condition with distinct alias on join clauses (wip) 2022-09-07 19:45:41 +02:00