Skip to content
Permalink
Browse files

Update search.inc.php

  • Loading branch information...
directman66 committed Sep 17, 2018
1 parent 0f575a0 commit f7cbecadfad622fc2fc32dce61fac9ddab5b0c72
Showing with 1 addition and 1 deletion.
  1. +1 −1 modules/mercury/search.inc.php
@@ -39,7 +39,7 @@
if (!$sortby_snmpdevices) $sortby_snmpdevices="TITLE";
$out['SORTBY']=$sortby_snmpdevices;
// SEARCH RESULTS
$res=SQLSelect("SELECT mercury_devices.*, DATE_FORMAT(FROM_UNIXTIME(TS), '%d-%m-%Y') as TS3 FROM mercury_devices WHERE $qry ORDER BY ".$sortby_snmpdevices);
$res=SQLSelect("SELECT mercury_devices.*, DATE_FORMAT(FROM_UNIXTIME(TS), '%d-%m-%Y %H:%m') as TS3 FROM mercury_devices WHERE $qry ORDER BY ".$sortby_snmpdevices);
if ($res[0]['ID']) {
colorizeArray($res);
$total=count($res);

0 comments on commit f7cbeca

Please sign in to comment.
You can’t perform that action at this time.