mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
11952-Fix filters in List of latest events
This commit is contained in:
parent
85c2cc507f
commit
cd430f9f3f
@ -720,14 +720,15 @@ class EventsListWidget extends Widget
|
|||||||
'style' => 'width: 99%;',
|
'style' => 'width: 99%;',
|
||||||
'ajax_url' => 'operation/events/events',
|
'ajax_url' => 'operation/events/events',
|
||||||
'ajax_data' => [
|
'ajax_data' => [
|
||||||
'get_events' => 1,
|
'get_events' => 1,
|
||||||
'table_id' => $table_id,
|
'table_id' => $table_id,
|
||||||
'filter' => $filter,
|
'filter' => $filter,
|
||||||
'length' => $this->values['limit'],
|
'event_list_widget_filter' => $filter,
|
||||||
'groupRecursion' => (bool) $this->values['groupRecursion'],
|
'length' => $this->values['limit'],
|
||||||
'auth_hash' => $hash,
|
'groupRecursion' => (bool) $this->values['groupRecursion'],
|
||||||
'auth_class' => 'PandoraFMS\Dashboard\Manager',
|
'auth_hash' => $hash,
|
||||||
'id_user' => $id_user,
|
'auth_class' => 'PandoraFMS\Dashboard\Manager',
|
||||||
|
'id_user' => $id_user,
|
||||||
],
|
],
|
||||||
'default_pagination' => $this->values['limit'],
|
'default_pagination' => $this->values['limit'],
|
||||||
'pagination_options' => [
|
'pagination_options' => [
|
||||||
|
@ -104,6 +104,11 @@ if (isset($fb64) === true) {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$event_list_widget_filter = get_parameter('event_list_widget_filter', null);
|
||||||
|
if (isset($event_list_widget_filter) === true) {
|
||||||
|
$filter = $event_list_widget_filter;
|
||||||
|
}
|
||||||
|
|
||||||
$settings_modal = get_parameter('settings', 0);
|
$settings_modal = get_parameter('settings', 0);
|
||||||
$parameters_modal = get_parameter('parameters', 0);
|
$parameters_modal = get_parameter('parameters', 0);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user