From 41590741bad91526bfac9e76b33286511b9dec89 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Fri, 27 Apr 2018 18:59:11 -0400 Subject: [PATCH] Add level: 0 for libraries in target list for connector --- chrome/content/zotero/xpcom/connector/server_connector.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/connector/server_connector.js b/chrome/content/zotero/xpcom/connector/server_connector.js index 06a3354f43..4f8023a603 100644 --- a/chrome/content/zotero/xpcom/connector/server_connector.js +++ b/chrome/content/zotero/xpcom/connector/server_connector.js @@ -1118,7 +1118,8 @@ Zotero.Server.Connector.GetSelectedCollection.prototype = { collections.push( { id: library.treeViewID, - name: library.name + name: library.name, + level: 0 }, ...Zotero.Collections.getByLibrary(library.libraryID, true).map(c => ({ id: c.treeViewID,