Issue Bug Closed

#17663forwardSearchWordsInResultLink: $tmplArray['path'] does not include search words

Ulrich Fischer 10/09/07, 21:43 updated 09/06/13, 09:22

Description

forwardSearchWordsInResultLink:
$tmplArray[‘path’] does not include search words in the link, even $tmplArray[‘title’] includes them.

SOLUTION for
$Id: class.tx_indexedsearch.php 2158 2007-02-27 13:49:53Z

Add $markUpSwParams as a prameter for the ‘makeInfo’ function and the following ‘linkPage’ function:

1) $tmplContent = $this->makeInfo($row,$tmplContent,$markUpSwParams);

2) function makeInfo($row,$tmplArray,$markUpSwParams) {

3) $tmplArray[‘path’] = $this->linkPage($pathId,$pathStr,array(
‘data_page_type’ => $row[‘data_page_type’],
‘data_page_mp’ => $pathMP,
‘sys_language_uid’ => $row[‘sys_language_uid’],
),$markUpSwParams);

(issue imported from #M6481)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.