mirror of
https://github.com/zotero/zotero.git
synced 2026-09-22 00:32:47 +00:00
Remove access dates broken by Scite
A non-date value ('INVALID_SCITE_VALUE') apparently gets output as
`false` in toJSON(), which results in a sync error.
This commit is contained in:
parent
d14a8b1d92
commit
dc886d3cec
1 changed files with 1 additions and 0 deletions
|
|
@ -3705,5 +3705,6 @@ Zotero.Schema = new function(){
|
|||
else {
|
||||
await Zotero.DB.queryAsync("UPDATE itemDataValues SET value='INVALID_SCITE_VALUE' WHERE value=0");
|
||||
}
|
||||
await Zotero.DB.queryAsync("DELETE FROM itemData WHERE fieldID=(SELECT fieldID FROM fields WHERE fieldName='accessDate') AND valueID=?", replacementValueID);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue