Bug #15156

Setting headerOnly also removes markup of search words

Added by Sacha Vorbeck about 16 years ago. Updated almost 6 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)

#1

Updated by Alexander Opitz over 8 years ago

  • Target version deleted (0)
  • TYPO3 Version set to 3.8

Hi,

as this issue is very old. Does the problem still exists within newer versions of TYPO3 CMS (4.5 or 6.1)?

#2

Updated by Mathias Schreiber almost 7 years ago

  • Target version set to 7.5
  • Is Regression set to No
#3

Updated by Gerrit Code Review over 6 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/41574

#4

Updated by Benni Mack over 6 years ago

  • Target version changed from 7.5 to 7.4 (Backend)
  • Sprint Focus set to On Location Sprint
#5

Updated by Stefan Neufeind over 6 years ago

  • Status changed from Under Review to Rejected
#6

Updated by Anja Leichsenring almost 6 years ago

  • Sprint Focus deleted (On Location Sprint)

Also available in: Atom PDF