The "All computers, Show/hide, Select columns to show/hide" drop-down menu list is unsorted :( I think this is due to new ajax code in ms_all_computers.php, but I can't realize how to fix that. It seems, the line to fix is the one that contains ajaxtab_entete_fixe:
if (is_defined($_SESSION['OCS']["mesmachines"])) {
$queryDetails .= "AND " . $_SESSION['OCS']["mesmachines"];
}
$queryDetails .= " group by h.id";
$tab_options['LBL_POPUP']['SUP'] = 'name';
$tab_options['LBL']['SUP'] = $l->g(122);
$tab_options['TRI']['DATE']['e.bdate'] = "%m/%d/%Y"; // BIOS date format in database (varchar)
Previous non-ajax ocs reports versions, included this code:
if (isset($_SESSION['OCS']["mesmachines"]) and $_SESSION['OCS']["mesmachines"] != '')
$queryDetails .= "AND ".$_SESSION['OCS']["mesmachines"];
$queryDetails .=" group by h.id";
$tab_options['LBL_POPUP']['SUP']='name';
$tab_options['LBL']['SUP']=$l->g(122);
$tab_options['TRI']['DATE']['e.bdate']="%m/%d/%Y";
The "All computers, Show/hide, Select columns to show/hide" drop-down menu list is unsorted :( I think this is due to new ajax code in ms_all_computers.php, but I can't realize how to fix that. It seems, the line to fix is the one that contains ajaxtab_entete_fixe:
Previous non-ajax ocs reports versions, included this code:
Here the same question plus an image about this issue: http://ask.ocsinventory-ng.org/5568/unsorted-show-hide-columns-list-in-ajax-ocs-reports-versions