mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
sorts filepicker files by modified date
Signed-off-by: Sagorika Das <sagorika1996@gmail.com>
This commit is contained in:
parent
8e47f10714
commit
6bac63adec
1 changed files with 1 additions and 1 deletions
|
|
@ -847,7 +847,7 @@ var OCdialogs = {
|
|||
} else if(a.type !== 'dir' && b.type === 'dir') {
|
||||
return 1;
|
||||
} else {
|
||||
return 0;
|
||||
return -(a.mtime - b.mtime);
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue