fixed search indexer errors
This commit is contained in:
parent
c485014062
commit
6402c8f3af
10 changed files with 23 additions and 21 deletions
|
|
@ -67,8 +67,8 @@ sub getIndexerParams {
|
|||
fieldsToIndex => ["title", "description"],
|
||||
contentType => 'wobject',
|
||||
url => '$data{urlizedTitle}."#".$data{wid}',
|
||||
headerShortcut => 'select title from MessageBoard_forums where wobjectId = $data{wid}',
|
||||
bodyShortcut => 'select description from MessageBoard_forums where wobjectId = $data{wid}',
|
||||
headerShortcut => 'select title from MessageBoard_forums where wobjectId = \'$data{wid}\'',
|
||||
bodyShortcut => 'select description from MessageBoard_forums where wobjectId = \'$data{wid}\'',
|
||||
},
|
||||
MessageBoard_Forum => {
|
||||
sql => "select forumPost.forumPostId,
|
||||
|
|
@ -98,8 +98,8 @@ sub getIndexerParams {
|
|||
fieldsToIndex => ["username", "subject", "message"],
|
||||
contentType => 'discussion',
|
||||
url => 'WebGUI::URL::append($data{urlizedTitle},"func=view&wid=$data{wid}&forumOp=viewThread&forumPostId=$data{forumPostId}&forumId=$data{forumId}")',
|
||||
headerShortcut => 'select subject from forumPost where forumPostId = $data{forumPostId}',
|
||||
bodyShortcut => 'select message from forumPost where forumPostId = $data{forumPostId}',
|
||||
headerShortcut => 'select subject from forumPost where forumPostId = \'$data{forumPostId}\'',
|
||||
bodyShortcut => 'select message from forumPost where forumPostId = \'$data{forumPostId}\'',
|
||||
}
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue