mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
Fixed modules ordination. Ticket #3885.
(cherry picked from commit 5928f22d8db3988dc834b32781110a805c524ea8)
This commit is contained in:
parent
93b64ba43c
commit
a7f16ea182
@ -118,6 +118,9 @@ if (!isset ($id_agente)) {
|
|||||||
$id_agent = (int)get_parameter('id_agente');
|
$id_agent = (int)get_parameter('id_agente');
|
||||||
$status_filter_monitor = (int)get_parameter('status_filter_monitor', -1);
|
$status_filter_monitor = (int)get_parameter('status_filter_monitor', -1);
|
||||||
$status_text_monitor = get_parameter('status_text_monitor', '');
|
$status_text_monitor = get_parameter('status_text_monitor', '');
|
||||||
|
$sort_field = get_parameter('sort_field', 'name');
|
||||||
|
$sort = get_parameter('sort', 'up');
|
||||||
|
|
||||||
|
|
||||||
echo "<h4 style='padding-top:0px !important;'>";
|
echo "<h4 style='padding-top:0px !important;'>";
|
||||||
|
|
||||||
@ -153,13 +156,14 @@ ui_toggle($html_toggle,
|
|||||||
|
|
||||||
?>
|
?>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var sort_field = 'name';
|
var sort_field = '<?php echo $sort_field; ?>';
|
||||||
var sort_rows = 'up';
|
var sort_rows = '<?php echo $sort; ?>';
|
||||||
var filter_status = -1;
|
var filter_status = -1;
|
||||||
var filter_text = "";
|
var filter_text = "";
|
||||||
reset_filter_modules ();
|
reset_filter_modules ();
|
||||||
|
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
|
/*filter_modules();
|
||||||
var parameters = {};
|
var parameters = {};
|
||||||
|
|
||||||
parameters["list_modules"] = 1;
|
parameters["list_modules"] = 1;
|
||||||
@ -178,6 +182,7 @@ ui_toggle($html_toggle,
|
|||||||
$("#module_list").html(data);
|
$("#module_list").html(data);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
*/
|
||||||
});
|
});
|
||||||
|
|
||||||
function order_module_list(sort_field_param, sort_rows_param) {
|
function order_module_list(sort_field_param, sort_rows_param) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user