Project

General

Profile

Actions

Bug #96795

closed

Localization Labels used in wrong order in SearchController

Added by Gerhard Rupp almost 3 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Indexed Search
Target version:
Start date:
2022-02-08
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
10
PHP Version:
7.4
Tags:
Complexity:
no-brainer
Is Regression:
Sprint Focus:
Remote Sprint

Description

Line 481 ff:

            if ($pp[0] != $pp[1]) {
                $481resultData['titleaddition'] = ', ' . LocalizationUtility::translate('result.page', 'IndexedSearch') . ' ' . $dat['key'];
            } else {
                $resultData['titleaddition'] = ', ' . LocalizationUtility::translate('result.pages', 'IndexedSearch') . ' ' . $pp[0];
            }

As the first condition is the one with several pages ranges is has to be result.pages in line 481 and result page in line 483.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #96796: Wrong addition to title in SearchControllerClosed2022-02-08

Actions
Actions

Also available in: Atom PDF