mirror of
https://github.com/filegator/filegator.git
synced 2025-08-10 13:54:24 +02:00
fix whitespaces, update changelog)
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
## Upcoming...
|
||||
|
||||
* New LDAP auth adapter (Thanks @ahaenggli)
|
||||
* Fixes #17 (Thanks @ahaenggli)
|
||||
|
||||
## 7.4.5 - 2020-10-12
|
||||
|
||||
|
@@ -542,8 +542,7 @@ export default {
|
||||
if (a.type == 'dir' && b.type != 'dir') return -1
|
||||
if (b.type == 'dir' && a.type != 'dir') return 1
|
||||
|
||||
if (b.type == a.type)
|
||||
{
|
||||
if (b.type == a.type) {
|
||||
if (a[param] === b[param]) return this.customSort(a, b, false, 'name')
|
||||
|
||||
if (_.isString(a[param])) return (a[param].localeCompare(b[param])) * (order ? -1 : 1)
|
||||
|
Reference in New Issue
Block a user