Merge pull request #3216 from CihanSenturk/fix-report-filter-period-issue
Fixed report filter period issue
This commit is contained in:
commit
de12a361b4
|
|
@ -286,7 +286,13 @@ abstract class Report
|
|||
|
||||
public function getFormattedDate($event, $date)
|
||||
{
|
||||
return $this->getPeriodicDate($date, $event->class->getSetting('period'), $event->class->year);
|
||||
$period = $this->getSearchStringValue('period');
|
||||
|
||||
if (empty($period)) {
|
||||
$period = $event->class->getSetting('period');
|
||||
}
|
||||
|
||||
return $this->getPeriodicDate($date, $period, $event->class->year);
|
||||
}
|
||||
|
||||
protected function fireEvent($event_class, $event, $group = null)
|
||||
|
|
|
|||
Loading…
Reference in New Issue