commit 8a915beaaafe5a7bc7d3c3f3b1e3cde1e7b69ff6
parent fb6cf4f9a967619713984cb6a22b800f965cefbe
Author: Dan Stillman <dstillman@zotero.org>
Date: Thu, 20 Oct 2016 22:48:20 -0400
Fix bug in relations upgrade fix
Diffstat:
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/chrome/content/zotero/xpcom/schema.js b/chrome/content/zotero/xpcom/schema.js
@@ -2281,7 +2281,7 @@ Zotero.Schema = new function(){
}
}
- else if (i == 88) {
+ else if (i == 89) {
let groupLibraryMap = {};
let libraryGroupMap = {};
let resolveLibrary = Zotero.Promise.coroutine(function* (usersOrGroups, id) {
@@ -2319,7 +2319,7 @@ Zotero.Schema = new function(){
// Add missing bidirectional from 80
if (object.startsWith('users')) {
- matches = object.match(/^users\/(local\/\w+\/|\d+)items\/([A-Z0-9]{8})$/);
+ matches = object.match(/^users\/(local\/\w+|\d+)\/items\/([A-Z0-9]{8})$/);
if (!matches) continue;
newSubjectlibraryID = 1;
newSubjectKey = matches[2];
diff --git a/resource/schema/userdata.sql b/resource/schema/userdata.sql
@@ -1,4 +1,4 @@
--- 88
+-- 89
-- Copyright (c) 2009 Center for History and New Media
-- George Mason University, Fairfax, Virginia, USA