summaryrefslogtreecommitdiffstats
path: root/models/users.js
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2019-11-14 21:31:38 +0200
committerLauri Ojansivu <x@xet7.org>2019-11-14 21:31:38 +0200
commitab2a721a1443b903cdbbbe275f41ffd3269012c6 (patch)
tree5dec139a237155d9f69976bf09b57673bf395cd9 /models/users.js
parent16cc4d7cbdb08fe6468653e15726e637566e7e7c (diff)
downloadwekan-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.js4
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];