Make CDR descending order in ELastix's UI

Joined
Jul 23, 2007
Messages
251
Points
0
Hi every body,
I don't know why ! but the order of showing CDR in CDR Madule is ASC, if you want to change it to descending order you could do this:
edit this file: /var/www/html/libs/paloSantoCDR.class.php (you can use WinSCP for easy editing)

and add this statement between line 91 and 92 as below:

// Clausula WHERE aqui
if(!empty($strWhere)) $query .= "WHERE $strWhere ";

// Added by Haamed
$query .= " ORDER BY calldate DESC";


if(!empty($limit)) {

$query .= " LIMIT $limit OFFSET $offset";
}



GoodLuck;B)
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,990
Messages
131,103
Members
17,716
Latest member
Orbit114
Top