Change sorting to work on desktop drag handle page instead,

where it seems to work better.

Thanks to xet7 !
This commit is contained in:
Lauri Ojansivu 2019-11-14 00:55:11 +02:00
parent a9e53ec088
commit bbc3ab3f99

View file

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