mirror of
https://github.com/zotero/zotero.git
synced 2026-10-04 02:31:47 +00:00
Escape backslash
This commit is contained in:
parent
acd6d38a1e
commit
d291084af6
1 changed files with 1 additions and 1 deletions
|
|
@ -202,7 +202,7 @@ Zotero.Duplicates.prototype._findDuplicates = function () {
|
|||
// DOI
|
||||
var sql = "SELECT itemID, value FROM items JOIN itemData USING (itemID) "
|
||||
+ "JOIN itemDataValues USING (valueID) "
|
||||
+ "WHERE libraryID=? AND fieldID=? AND REGEXP('^10\.', value) "
|
||||
+ "WHERE libraryID=? AND fieldID=? AND REGEXP('^10\\.', value) "
|
||||
+ "AND itemID NOT IN (SELECT itemID FROM deletedItems) "
|
||||
+ "ORDER BY value";
|
||||
var rows = Zotero.DB.query(sql, [this._libraryID, Zotero.ItemFields.getID('DOI')]);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue