Fix bug in relations upgrade fix

This commit is contained in:
Dan Stillman 2016-10-20 22:48:20 -04:00
parent fb6cf4f9a9
commit 8a915beaaa
2 changed files with 3 additions and 3 deletions

View file

@ -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];

View file

@ -1,4 +1,4 @@
-- 88
-- 89
-- Copyright (c) 2009 Center for History and New Media
-- George Mason University, Fairfax, Virginia, USA