mirror of
https://github.com/zotero/zotero.git
synced 2026-10-06 02:50:03 +00:00
Fix Z pane brokenness with no titled items (from 53322e6e)
This commit is contained in:
parent
de1983bf9f
commit
ca0ad42a6a
1 changed files with 1 additions and 1 deletions
|
|
@ -242,7 +242,7 @@ Zotero.Duplicates.prototype._findDuplicates = function () {
|
|||
+ "WHERE libraryID=? AND fieldID BETWEEN 110 AND 113 "
|
||||
+ "AND itemTypeID NOT IN (1, 14) "
|
||||
+ "AND itemID NOT IN (SELECT itemID FROM deletedItems)";
|
||||
var rows = Zotero.DB.query(sql, [this._libraryID]);
|
||||
var rows = Zotero.DB.query(sql, [this._libraryID]) || [];
|
||||
//normalize all values ahead of time
|
||||
rows = rows.map(function(row) {
|
||||
row.value = normalizeString(row.value);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue