Fix default sort order
This commit is contained in:
parent
55244b5cf7
commit
cf603a4b6c
|
@ -579,9 +579,9 @@ Zotero.ItemTreeView.prototype.sort = function()
|
||||||
}
|
}
|
||||||
|
|
||||||
if(order)
|
if(order)
|
||||||
this._dataItems.sort(oppositeSort);
|
|
||||||
else
|
|
||||||
this._dataItems.sort(doSort);
|
this._dataItems.sort(doSort);
|
||||||
|
else
|
||||||
|
this._dataItems.sort(oppositeSort);
|
||||||
|
|
||||||
this._refreshHashMap();
|
this._refreshHashMap();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user