From 47d59f2dc133a86d6f68e356f721a2e1060c2b52 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Fri, 16 Jun 2006 08:04:01 +0000 Subject: [PATCH] Add note contents to search --- chrome/chromeFiles/content/scholar/xpcom/data_access.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/chrome/chromeFiles/content/scholar/xpcom/data_access.js b/chrome/chromeFiles/content/scholar/xpcom/data_access.js index a9c4cb6afb..7e884e7646 100644 --- a/chrome/chromeFiles/content/scholar/xpcom/data_access.js +++ b/chrome/chromeFiles/content/scholar/xpcom/data_access.js @@ -995,7 +995,8 @@ Scholar.Items = new function(){ + "(SELECT creatorID FROM creators WHERE firstName LIKE ?1 " + "OR lastName LIKE ?1) UNION " + "SELECT itemID FROM itemKeywords WHERE keywordID IN " - + "(SELECT keywordID FROM keywords WHERE keyword LIKE ?1)"; + + "(SELECT keywordID FROM keywords WHERE keyword LIKE ?1) UNION " + + "SELECT itemID FROM itemNotes WHERE note LIKE ?1"; var sqlParams = [{'string':'%' + text + '%'}];