Change saved search condition 'repository' to 'libraryCatalog' for people who don't update sync

This commit is contained in:
Dan Stillman 2010-02-04 13:13:18 +00:00
parent e651d03804
commit 2cc2178064

View file

@ -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();
}