Fix default sort order

This commit is contained in:
Dan Stillman 2007-01-03 11:24:10 +00:00
parent 55244b5cf7
commit cf603a4b6c

View File

@ -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();