Fix. Display long extensions (>9 digits)

This commit is contained in:
Alexey Melnichuk 2016-04-28 14:37:58 +03:00
parent 37f725d6ab
commit a0c79a685a
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";