Commit fd3ccd62 authored by Julien Fastré's avatar Julien Fastré

fix bug: closing motive are present at today date in timeline

parent cc29c6ee
......@@ -52,6 +52,12 @@ class TimelineAccompanyingPeriodClosing extends AbstractTimelineAccompanyingPeri
$data['type'] = 'accompanying_period_closing';
$data['date'] = $metadata->getColumnName('closingDate');
$data['WHERE'] = sprintf('%s = %d AND %s IS NOT NULL',
$metadata
->getAssociationMapping('person')['joinColumns'][0]['name'],
$args['person']->getId(),
$metadata->getColumnName('closingDate'))
;
return $data;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment