Merge branch '1570-Error-en-paginación-de-eventos-con-texto-libre-dev' into 'develop'

Fixed pagination errors with free search

See merge request artica/pandorafms!1054
This commit is contained in:
vgilc 2017-11-29 15:38:19 +01:00
commit b98ac19f91
3 changed files with 2 additions and 7 deletions

View File

@ -3848,9 +3848,6 @@ function reporting_value($report, $content, $type,$pdf) {
$return['agent_name'] = $agent_name; $return['agent_name'] = $agent_name;
$return['module_name'] = $module_name; $return['module_name'] = $module_name;
html_debug($pdf,true);
html_debug($only_image,true);
if($pdf){ if($pdf){
$only_image = 1; $only_image = 1;
} }

View File

@ -36,7 +36,7 @@ if ($group_rep == 2) {
$table->head[1] = __('Agent'); $table->head[1] = __('Agent');
$table->head[5] = __('More detail'); $table->head[5] = __('More detail');
$params = "search=" . rawurlencode(io_safe_input($search)) . $params = "search=" . io_safe_input($search) .
"&severity=" . $severity . "&severity=" . $severity .
"&status=" . $status . "&status=" . $status .
"&id_group=" . $id_group . "&id_group=" . $id_group .

View File

@ -307,9 +307,7 @@ users_get_groups ($config["id_user"], "ER");
$ids = (array) get_parameter ("eventid", -1); $ids = (array) get_parameter ("eventid", -1);
$params = "search=" . io_safe_input($search) .
$params = "search=" . rawurlencode(io_safe_input($search)) .
"&event_type=" . $event_type . "&event_type=" . $event_type .
"&severity=" . $severity . "&severity=" . $severity .
"&status=" . $status . "&status=" . $status .