瀏覽代碼

Change sorting to work on desktop drag handle page instead,
where it seems to work better.

Thanks to xet7 !

Lauri Ojansivu 5 年之前
父節點
當前提交
bbc3ab3f99
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      models/users.js

+ 2 - 2
models/users.js

@@ -396,8 +396,8 @@ Users.helpers({
     return ret;
   },
   hasSortBy() {
-    // if use doesn't have dragHandle, then we can let user to choose sort list by different order
-    return !this.hasShowDesktopDragHandles();
+    // if user has dragHandle, then we can let user to choose sort list by different order
+    return this.hasShowDesktopDragHandles();
   },
   getListSortBy() {
     return this._getListSortBy()[0];