diff options
author | Lauri Ojansivu <x@xet7.org> | 2019-11-14 21:31:38 +0200 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2019-11-14 21:31:38 +0200 |
commit | ab2a721a1443b903cdbbbe275f41ffd3269012c6 (patch) | |
tree | 5dec139a237155d9f69976bf09b57673bf395cd9 /models/users.js | |
parent | 16cc4d7cbdb08fe6468653e15726e637566e7e7c (diff) | |
download | wekan-ab2a721a1443b903cdbbbe275f41ffd3269012c6.tar.gz wekan-ab2a721a1443b903cdbbbe275f41ffd3269012c6.tar.bz2 wekan-ab2a721a1443b903cdbbbe275f41ffd3269012c6.zip |
Revert list sorting change of Wekan v3.51 because it reversed
alphabetical sorting of lists.
Thanks to Dalisay and xet7 !
Diffstat (limited to 'models/users.js')
-rw-r--r-- | models/users.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/models/users.js b/models/users.js index 3e3a7bbb..83a224ba 100644 --- a/models/users.js +++ b/models/users.js @@ -396,8 +396,8 @@ Users.helpers({ return ret; }, hasSortBy() { - // if user has dragHandle, then we can let user to choose sort list by different order - return this.hasShowDesktopDragHandles(); + // if use doesn't have dragHandle, then we can let user to choose sort list by different order + return !this.hasShowDesktopDragHandles(); }, getListSortBy() { return this._getListSortBy()[0]; |