Bug #71973 » 71973.patch
typo3/sysext/core/Classes/Resource/FileRepository.php (revision ) | ||
---|---|---|
}
|
||
}
|
||
// sorting might have changed due to workspace overlay
|
||
uasort(
|
||
$itemList,
|
||
function (FileReference $a, FileReference $b) {
|
||
$sortA = $a->getReferenceProperty('sorting_foreign');
|
||
$sortB = $b->getReferenceProperty('sorting_foreign');
|
||
if ($sortA == $sortB) {
|
||
return 0;
|
||
}
|
||
return ($sortA < $sortB) ? -1 : 1;
|
||
}
|
||
);
|
||
return $itemList;
|
||
}
|
||
- « Previous
- 1
- 2
- Next »