Make CDR descending order in ELastix's UI

haamed

Joined
Jul 23, 2007
Messages
251
Likes
0
Points
0
#1
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,967
Messages
131,028
Members
17,677
Latest member
John-V
Top