fixed search indexer errors

This commit is contained in:
JT Smith 2004-09-13 19:44:38 +00:00
parent c485014062
commit 6402c8f3af
10 changed files with 23 additions and 21 deletions

View file

@ -137,11 +137,11 @@ sub getIndexerParams {
and page.startDate < $now
and page.endDate > $now",
fieldsToIndex => ["question",
'select answer from Survey_answer where Survey_questionId = $data{Survey_questionId}' ],
'select answer from Survey_answer where Survey_questionId = \'$data{Survey_questionId}\'' ],
contentType => 'wobjectDetail',
url => 'WebGUI::URL::append($data{urlizedTitle}, "func=view&wid=$data{wid}")',
headerShortcut => 'select title from wobject where wobjectId = $data{wid}',
bodyShortcut => 'select description from wobject where wobjectId = $data{wid}',
headerShortcut => 'select title from wobject where wobjectId = \'$data{wid}\'',
bodyShortcut => 'select description from wobject where wobjectId = \'$data{wid}\'',
}
};