Fix secondary sort submenu breakage in 8e31bf5b
This commit is contained in:
parent
8e31bf5b6d
commit
c87b40e5ca
1 changed files with 5 additions and 2 deletions
|
@ -3593,7 +3593,8 @@ var ItemTree = class ItemTree extends LibraryTree {
|
|||
}
|
||||
});
|
||||
|
||||
const columns = this._getColumns().filter(col => !col.ignoreInColumnPicker);
|
||||
// Filter out ignored columns
|
||||
let columns = this._getColumns().filter(col => !col.ignoreInColumnPicker);
|
||||
for (let i = 0; i < columns.length; i++) {
|
||||
const column = columns[i];
|
||||
if (column.ignoreInColumnPicker === true) continue;
|
||||
|
@ -3649,7 +3650,9 @@ var ItemTree = class ItemTree extends LibraryTree {
|
|||
Zotero.logError(e);
|
||||
Zotero.debug(e, 1);
|
||||
}
|
||||
|
||||
|
||||
// Secondary sort submenu can include columns that cannot have their visibility toggled
|
||||
columns = this._getColumns();
|
||||
//
|
||||
// Secondary Sort menu
|
||||
//
|
||||
|
|
Loading…
Reference in a new issue