mirror of
https://github.com/nextcloud/server.git
synced 2026-06-29 12:24:50 +02:00
Merge pull request #8820 from nextcloud/mtime-sort
Sorts filepicker files by modified date
This commit is contained in:
@@ -847,7 +847,7 @@ var OCdialogs = {
|
||||
} else if(a.type !== 'dir' && b.type === 'dir') {
|
||||
return 1;
|
||||
} else {
|
||||
return 0;
|
||||
return -(a.mtime - b.mtime);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user