Fix "columns itemID, tagID are not unique" sync error
I'm not sure what's causing this, but it will quite likely go away in 4.1 regardless.
This commit is contained in:
parent
55d7ac1351
commit
86afad9b35
|
@ -459,7 +459,7 @@ Zotero.Tag.prototype.save = function (full) {
|
|||
}
|
||||
|
||||
if (newids.length) {
|
||||
var sql = "INSERT INTO itemTags (itemID, tagID) VALUES (?,?)";
|
||||
var sql = "INSERT OR IGNORE INTO itemTags (itemID, tagID) VALUES (?,?)";
|
||||
var insertStatement = Zotero.DB.getStatement(sql);
|
||||
|
||||
var pairs = [];
|
||||
|
|
Loading…
Reference in New Issue
Block a user