commit 3c419f9f5a3afeee8bc4f3faef2bd6008d0f3628
parent a161217f3b9610f2b455fcf85900580650106ada
Author: Dan Stillman <dstillman@zotero.org>
Date: Fri, 2 Jan 2009 18:55:44 +0000
Addresses #1276, RDF export loses collection info
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/chrome/content/zotero/xpcom/translate.js b/chrome/content/zotero/xpcom/translate.js
@@ -2176,6 +2176,7 @@ Zotero.Translate.prototype._exportGetCollection = function() {
if(this._collectionsLeft && this._collectionsLeft.length != 0) {
var returnItem = this._collectionsLeft.shift();
var obj = returnItem.serialize();
+ obj.id = obj.primary.collectionID;
obj.name = obj.fields.name;
return obj;
}