Fix. Display long extensions (>9 digits)

This commit is contained in:
Alexey Melnichuk
2016-04-28 14:37:58 +03:00
parent 7b413a8058
commit 0c61e650d0

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";