Issue Bug Rejected

#15156Setting headerOnly also removes markup of search words

Sacha Vorbeck 10/26/05, 23:19 updated 01/08/16, 11:18

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)

Reviews 1