From 92562ab412a08cd43fb801d1a01dad70c58abc56 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Thu, 4 Oct 2007 01:57:48 +0000 Subject: [PATCH] Fix SQL error during export (regression) --- chrome/content/zotero/xpcom/data_access.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/data_access.js b/chrome/content/zotero/xpcom/data_access.js index 1f0d43aab..1d858ae38 100644 --- a/chrome/content/zotero/xpcom/data_access.js +++ b/chrome/content/zotero/xpcom/data_access.js @@ -2549,7 +2549,7 @@ Zotero.Items = new function(){ * If |onlyTopLevel|, don't include child items */ function getAll(onlyTopLevel) { - var sql = 'SELECT itemID FROM items'; + var sql = 'SELECT A.itemID FROM items'; if (onlyTopLevel) { sql += ' A LEFT JOIN itemNotes B USING (itemID) ' + 'LEFT JOIN itemAttachments C ON (C.itemID=A.itemID) '