Add note contents to search
This commit is contained in:
parent
7ef16e0a38
commit
47d59f2dc1
1 changed files with 2 additions and 1 deletions
|
@ -995,7 +995,8 @@ Scholar.Items = new function(){
|
||||||
+ "(SELECT creatorID FROM creators WHERE firstName LIKE ?1 "
|
+ "(SELECT creatorID FROM creators WHERE firstName LIKE ?1 "
|
||||||
+ "OR lastName LIKE ?1) UNION "
|
+ "OR lastName LIKE ?1) UNION "
|
||||||
+ "SELECT itemID FROM itemKeywords WHERE keywordID IN "
|
+ "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 + '%'}];
|
var sqlParams = [{'string':'%' + text + '%'}];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue