Project

General

Profile

Actions

Bug #105103

closed

Indexed Search - Search for specific media type does not work

Added by Boris Dittebrandt 26 days ago. Updated 5 days ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Indexed Search
Target version:
-
Start date:
2024-09-24
Due date:
% Done:

100%

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

Description

If a media type with a specific file extension (e.g. *.pdf) is selected in the advanced search, the selection is not taken into account.

I think this could be because the $mediaType property of \TYPO3\CMS\IndexedSearch\Domain\Repository\IndexSearchRepository class has the data type integer and therefore its value is casted to integer, but it should actually be a string (e.g. 'pdf').


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Task #102898: IndexedSearch: Extract enum-esque structs into real enumsClosed2024-01-23

Actions
Related to TYPO3 Core - Task #97412: Add types to internal indexed_search codeClosedBenni Mack2022-04-18

Actions
Actions

Also available in: Atom PDF