فهرست منبع

Revert list sorting change of Wekan v3.51 because it reversed
alphabetical sorting of lists.

Thanks to Dalisay and xet7 !

Lauri Ojansivu 5 سال پیش
والد
کامیت
ab2a721a14
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      models/users.js

+ 2 - 2
models/users.js

@@ -396,8 +396,8 @@ Users.helpers({
     return ret;
     return ret;
   },
   },
   hasSortBy() {
   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() {
   getListSortBy() {
     return this._getListSortBy()[0];
     return this._getListSortBy()[0];