From ab2a721a1443b903cdbbbe275f41ffd3269012c6 Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Thu, 14 Nov 2019 21:31:38 +0200 Subject: Revert list sorting change of Wekan v3.51 because it reversed alphabetical sorting of lists. Thanks to Dalisay and xet7 ! --- models/users.js | 4 ++-- 1 file 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]; -- cgit v1.2.3-1-g7c22