fixed search indexer errors
This commit is contained in:
parent
c485014062
commit
6402c8f3af
10 changed files with 23 additions and 21 deletions
|
|
@ -114,8 +114,8 @@ sub getIndexerParams {
|
|||
fieldsToIndex => ["username", "subject", "message"],
|
||||
contentType => 'discussion',
|
||||
url => 'WebGUI::URL::append($data{urlizedTitle},"func=viewSubmission&wid=$data{wid}&sid=$data{sid}&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}\'',
|
||||
},
|
||||
USS_submission => {
|
||||
sql => "select USS_submission.title as title,
|
||||
|
|
@ -145,8 +145,8 @@ sub getIndexerParams {
|
|||
fieldsToIndex => ["username", "title", "content", "image", "attachment"],
|
||||
contentType => 'wobjectDetail',
|
||||
url => 'WebGUI::URL::append($data{urlizedTitle}, "func=viewSubmission&wid=$data{wid}&sid=$data{sid}")',
|
||||
headerShortcut => 'select title from USS_submission where USS_submissionId = $data{sid}',
|
||||
bodyShortcut => 'select content from USS_submission where USS_submissionId = $data{sid}',
|
||||
headerShortcut => 'select title from USS_submission where USS_submissionId = \'$data{sid}\'',
|
||||
bodyShortcut => 'select content from USS_submission where USS_submissionId = \'$data{sid}\'',
|
||||
}
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue