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 #1

Updated by Alexander Opitz almost 11 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)?

Actions #2

Updated by Mathias Schreiber over 9 years ago

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

Updated by Gerrit Code Review almost 9 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

Actions #4

Updated by Benni Mack almost 9 years ago

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

Updated by Stefan Neufeind almost 9 years ago

  • Status changed from Under Review to Rejected
Actions #6

Updated by Anja Leichsenring over 8 years ago

  • Sprint Focus deleted (On Location Sprint)
Actions

Also available in: Atom PDF