Project

General

Profile

Actions

Bug #101727

closed

Search result icon has invalid path in composer based installations

Added by Thorben Nissen 9 months ago. Updated 9 months ago.

Status:
Resolved
Priority:
Should have
Assignee:
-
Category:
Indexed Search
Target version:
Start date:
2023-08-22
Due date:
% Done:

100%

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

Description

By default indexed search generates an icon for the search result by getting the absolute icon path and then clipping of the path site prefix, which leads to a path like `typo3/cms-indexed-search/Resources/Public/Icons/FileTypes/pages.gif` where it instead should be `/_assets/..../Icons/FileTypes/pages.gif`.

The relevant code is in `Classes/Controller/SearchController.php::693-716`.

Actions

Also available in: Atom PDF