Project

General

Profile

Actions

Bug #17663

closed

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

Added by Ulrich Fischer about 17 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Indexed Search
Target version:
-
Start date:
2007-10-09
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.4
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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)

Actions

Also available in: Atom PDF