Hi,
I would also like to sort the "Status Information" field in "Operations Center".
I think the part of the code that needs to be changed, in the nocscreenapi.php script, is this:
$table = "
<div id='servicediv'>
<table id='servicetable' class='tablesorter servicestatustable table table-condensed table-striped table-bordered'><thead>
<tr>
<th class='sort-header host_order $sort_header'>" . _("Host Name") . "</th>";
$sort_header = "";
if ($service_orderby == 'service_description:a') $sort_header = "headerSortDown";
if ($service_orderby == 'service_description:d') $sort_header = "headerSortUp";
$table .= "<th class='sort-header service_order $sort_header'>" . _("Service") . "</th>";
$sort_header = "";
if ($service_orderby == 'last_state_change:a') $sort_header = "headerSortDown";
if ($service_orderby == 'last_state_change:d') $sort_header = "headerSortUp";
$table .= "<th><div class='sort-header duration_order $sort_header duration'>" . _("Duration") . "</div></th>
$sort_header = "";
if ($service_orderby == 'state:a') $sort_header = "headerSortDown";
if ($service_orderby == 'state:d') $sort_header = "headerSortUp";
$table .= "<th><div class='sort-header state_order $sort_header state'>" . _("Status Information") . "</div></th>
Can someone help me?
Operation Center
Re: Operation Center
I apologize but implementing new functionality/helping you modify the source code to add new functionality isn't included as a part of support. Additionally, we also do not recommend you modify the source code as when you upgrade the changes you make will be overwritten and then you'll not want to upgrade because of those customizations. I can submit a request to development requesting they add that as a feature if you'd like?
Re: Operation Center
I have created the feature request:
Please keep in mind that the decision to implement the enhancement is at the discretion of our development team.
Let us know when we're okay to lock this up.
Code: Select all
FR: XI - Operations Center - Add the functionality to sort by Status InformationLet us know when we're okay to lock this up.
Re: Operation Center
Locking the topic, thank you!