Merge pull request #5615 from emaktech/patch-65

Order by start_epoch to Speed Up Query Execution
This commit is contained in:
FusionPBX 2020-12-09 20:06:49 -07:00 committed by GitHub
commit 7fe118daed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -187,7 +187,7 @@
}
//create the sql query to get the xml cdr records
if (strlen($order_by) == 0) { $order_by = "start_stamp"; }
if (strlen($order_by) == 0) { $order_by = "start_epoch"; }
if (strlen($order) == 0) { $order = "desc"; }
//set a default number of rows to show