Project

General

Profile

Actions

Bug #15156

closed

Setting headerOnly also removes markup of search words

Added by Sacha Vorbeck over 18 years ago. Updated over 8 years ago.

Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
Indexed Search
Target version:
Start date:
2005-10-26
Due date:
% Done:

0%

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

Description

When setting the headerOnly parameter of the function printResultRow to one (which should be made configurable via TS if it isn`t already), in line 1480 the make description function is not called any more.

This results in a search result where a description without marked-up search-words is generated.

To have the search-words marked up so that you can style them e. g. red via CSS, you have to change line 1480.

Maybe I got something wrong but I think this is not the right behaviour.

change

$tmplContent['description'] = $this->makeDescription($row,$this->piVars['extResume'] && !$headerOnly?0:1);

to

$tmplContent['description'] = $this->makeDescription($row,$this->piVars['extResume'] && !$headerOnly?1:0);
(issue imported from #M1733)

Actions

Also available in: Atom PDF