Selaa lähdekoodia

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

Thanks to xet7 !

Lauri Ojansivu 5 vuotta sitten
vanhempi
sitoutus
bbc3ab3f99
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  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];