Fix a bug where Call Detail Records column order was lost when pressing the next or back paging buttons.

This commit is contained in:
Mark Crane 2012-08-24 05:56:45 +00:00
parent 526b04c709
commit 41e655eb8b
1 changed files with 6 additions and 0 deletions

View File

@ -154,6 +154,12 @@ else {
$param .= "&write_codec=$write_codec";
$param .= "&remote_media_ip=$remote_media_ip";
$param .= "&network_addr=$network_addr";
if (isset($order_by)) {
$param .= "&order_by=".$order_by;
}
if (isset($order)) {
$param .= "&order=".$order;
}
//create the sql query to get the xml cdr records
if (strlen($order_by) == 0) { $order_by = "start_epoch"; }