From 2cc2178064269bda22507c6f31412d22967ac014 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Thu, 4 Feb 2010 13:13:18 +0000 Subject: [PATCH] Change saved search condition 'repository' to 'libraryCatalog' for people who don't update sync --- chrome/content/zotero/xpcom/schema.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/chrome/content/zotero/xpcom/schema.js b/chrome/content/zotero/xpcom/schema.js index 363d653b71..33657a6b47 100644 --- 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(); }