changed the file_home view to use version_compare() intead of strcmp() for sorting
This commit is contained in:
parent
ac6a5f4110
commit
8d5b631e7e
@ -55,7 +55,8 @@ else
|
|||||||
{
|
{
|
||||||
function comp_files ($a, $b)
|
function comp_files ($a, $b)
|
||||||
{
|
{
|
||||||
$cmp = strcmp ($b->tag, $a->tag);
|
//$cmp = strcmp ($b->tag, $a->tag);
|
||||||
|
$cmp = version_compare ($b->tag, $a->tag);
|
||||||
if ($cmp == 0)
|
if ($cmp == 0)
|
||||||
{
|
{
|
||||||
return strcmp ($a->name, $b->name);
|
return strcmp ($a->name, $b->name);
|
||||||
|
Loading…
Reference in New Issue
Block a user