mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 00:34:46 +02:00
Merge branch 'ent-8146-Bug-en-filtro-de-eventos-de-widget-List-of-latest-events-Dashboard' into 'develop'
Ent 8146 bug en filtro de eventos de widget list of latest events dashboard See merge request artica/pandorafms!4504
This commit is contained in:
commit
3efcc8d30f
@ -519,8 +519,6 @@ class EventsListWidget extends Widget
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$hours = ($this->values['maxHours'] * SECONDS_1HOUR);
|
|
||||||
|
|
||||||
// Put hours in seconds.
|
// Put hours in seconds.
|
||||||
$filter = [];
|
$filter = [];
|
||||||
$order = [];
|
$order = [];
|
||||||
@ -546,7 +544,7 @@ class EventsListWidget extends Widget
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// Filtering.
|
// Filtering.
|
||||||
$filter['event_view_hr'] = $hours;
|
$filter['event_view_hr'] = $this->values['maxHours'];
|
||||||
|
|
||||||
// Group.
|
// Group.
|
||||||
$filter['id_group_filter'] = $this->values['groupId'];
|
$filter['id_group_filter'] = $this->values['groupId'];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user