Revert "Hack to fix sorting after reordering columns"
This reverts commit 69a43ec456
.
This commit is contained in:
parent
aa7e502bad
commit
5f3eeb7fcd
1 changed files with 0 additions and 3 deletions
|
@ -3279,9 +3279,6 @@ var ItemTree = class ItemTree extends LibraryTree {
|
|||
|
||||
_handleColumnSort = async (index, sortDirection) => {
|
||||
let columnSettings = this._getColumnPrefs();
|
||||
// TEMP: Sort the columns by their ordinals, which can get out of sync after column
|
||||
// dragging. There's probably a better way to do this.
|
||||
this._getColumns().sort((a, b) => a.ordinal - b.ordinal);
|
||||
let column = this._getColumn(index);
|
||||
if (column.dataKey == 'hasAttachment') {
|
||||
Zotero.debug("Caching best attachment states");
|
||||
|
|
Loading…
Add table
Reference in a new issue