commit 2cc2178064269bda22507c6f31412d22967ac014
parent e651d0380492617c9e2a1e0ac6e4f67dfba9eb6a
Author: Dan Stillman <dstillman@zotero.org>
Date: Thu, 4 Feb 2010 13:13:18 +0000
Change saved search condition 'repository' to 'libraryCatalog' for people who don't update sync
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/chrome/content/zotero/xpcom/schema.js b/chrome/content/zotero/xpcom/schema.js
@@ -2798,6 +2798,10 @@ Zotero.Schema = new function(){
Zotero.DB.query("UPDATE itemData SET fieldID=123 WHERE fieldID=62 AND itemID IN (SELECT itemID FROM items WHERE itemTypeID IN (SELECT itemTypeID FROM itemTypeFields WHERE fieldID=19) AND itemTypeID NOT IN (2,3,4,5,6,7))");
}
+ if (i==73) {
+ Zotero.DB.query("UPDATE savedSearchConditions SET condition='libraryCatalog' WHERE condition='repository'");
+ }
+
Zotero.wait();
}