Fix. Display long extensions (>9 digits)
This commit is contained in:
parent
7b413a8058
commit
0c61e650d0
|
|
@ -105,7 +105,7 @@ require_once "resources/paging.php";
|
||||||
|
|
||||||
//to cast or not to cast
|
//to cast or not to cast
|
||||||
if ($db_type == "pgsql") {
|
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 {
|
else {
|
||||||
$order_text = "extension asc";
|
$order_text = "extension asc";
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue