From c00194127c146473c9ca2d6d08a2f0d7751d0d63 Mon Sep 17 00:00:00 2001 From: markjcrane Date: Tue, 29 Mar 2016 03:49:41 -0600 Subject: [PATCH] Remove the cast on app/calls/calls.php to fix non-numeric extensions. --- app/calls/calls.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/calls/calls.php b/app/calls/calls.php index a191654d94..3cfea3b85f 100644 --- a/app/calls/calls.php +++ b/app/calls/calls.php @@ -17,7 +17,7 @@ The Initial Developer of the Original Code is Mark J Crane - Portions created by the Initial Developer are Copyright (C) 2008-2012 + Portions created by the Initial Developer are Copyright (C) 2008-2016 the Initial Developer. All Rights Reserved. Contributor(s): @@ -102,7 +102,7 @@ else { //rework select data query $sql = str_replace('count(extension_uuid) as count', '*', $sql); - $sql .= ' order by cast(extension as int) asc'; + $sql .= ' order by extension asc'; $sql .= " limit ".$rows_per_page." offset ".$offset." "; //execute select data query