Add note contents to search

This commit is contained in:
Dan Stillman 2006-06-16 08:04:01 +00:00
parent 7ef16e0a38
commit 47d59f2dc1

View file

@ -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 + '%'}];