Fix a bug where Call Detail Records column order was lost when pressing the next or back paging buttons.
This commit is contained in:
parent
526b04c709
commit
41e655eb8b
|
|
@ -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"; }
|
||||
|
|
|
|||
Loading…
Reference in New Issue