Merge pull request #1562 from moteus/display_long_extensions

Fix. Display long extensions (>9 digits)
This commit is contained in:
FusionPBX 2016-04-29 09:25:46 -06:00
commit c73777dfeb
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ require_once "resources/paging.php";
//to cast or not to cast
if ($db_type == "pgsql") {
$order_text = ($total_extensions == $numeric_extensions) ? "cast(extension as int)" : "extension asc";
$order_text = ($total_extensions == $numeric_extensions) ? "cast(extension as bigint)" : "extension asc";
}
else {
$order_text = "extension asc";