summaryrefslogtreecommitdiffstats
path: root/models/users.js
diff options
context:
space:
mode:
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];