Issue Bug Closed

#105103Indexed Search - Search for specific media type does not work

Boris Dittebrandt 09/24/24, 14:07 updated 10/15/24, 09:05

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’).

Reviews 2

History 517

  1. Garvin Hicking commented <span data-processor="relativetime" data-value="2024-09-24T18:56:37+00:00" > 09/24/24, 18:56 </span>

    I can confirm this was broken with refactorings in #102898 and #97412

    I’ve prepared a patch for this. Unsure yet how/if it can be backported to v12 though.

  2. Garvin Hicking commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2024-10-15T05:25:09+00:00" > 10/15/24, 05:25 </span>

    Applied in changeset commit:d5f7ef500763781114006a3632ab932f81db9ca9.