#9946 Fix url
This commit is contained in:
parent
5ca1c54792
commit
81610046e3
|
@ -31,6 +31,7 @@ global $config;
|
|||
|
||||
$method = get_parameter('method', null);
|
||||
$filter = get_parameter('filter', '');
|
||||
$urlDashboard = get_parameter('urlDashboard', '');
|
||||
|
||||
if ($method === 'draw') {
|
||||
// Datatables offset, limit and order.
|
||||
|
|
|
@ -91,7 +91,6 @@ if (empty($dashboards) === true) {
|
|||
__('Favorite'),
|
||||
__('Full screen'),
|
||||
];
|
||||
|
||||
ui_print_datatable(
|
||||
[
|
||||
'id' => $id_table,
|
||||
|
@ -100,7 +99,10 @@ if (empty($dashboards) === true) {
|
|||
'columns' => $columns,
|
||||
'column_names' => $column_names,
|
||||
'ajax_url' => 'include/ajax/dashboard.ajax',
|
||||
'ajax_data' => ['method' => 'draw'],
|
||||
'ajax_data' => [
|
||||
'method' => 'draw',
|
||||
'urlDashboard' => $urlDashboard,
|
||||
],
|
||||
'default_pagination' => $config['block_size'],
|
||||
'no_sortable_columns' => [],
|
||||
'order' => [
|
||||
|
|
Loading…
Reference in New Issue