Bug #77664
closedSearch in translation in list view
100%
Description
When searching in the list view and "Localization view" is selected, translated items aren't found.
When you disable "Localization view" items are found.
Files
Updated by Gerrit Code Review about 8 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 https://review.typo3.org/49668
Updated by Gerrit Code Review about 8 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/49668
Updated by Gerrit Code Review about 8 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/49668
Updated by Gerrit Code Review about 8 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/49668
Updated by Frans Saris about 8 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 67b664fc0f2e554941734328d5d07dfdc7988a6d.
Updated by Gerrit Code Review about 8 years ago
- Status changed from Resolved to Under Review
Patch set 1 for branch TYPO3_7-6 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/49826
Updated by Frans Saris about 8 years ago
- Status changed from Under Review to Resolved
Applied in changeset 83af8a9a9b9ad49e8d854dd6b35d5f0a5da86771.
Updated by Lukas Taferner about 8 years ago
- File SC_NEW.JPG SC_NEW.JPG added
Unfortunately this patch completely changes the behaviour of the search in the list-view (please check the attached screenshots). Translations of Records with 'l10n_display' = 'defaultAsReadonly' are not shown any more.
Updated by Frans Saris about 8 years ago
Hi Lukas,
this indeed looks like a change in behavior. But the search is now more predictable for the editors than before.
In your use-case the translations are shown because the record of the default language matches your search and not because the translated record matches your search.
Groet Frans
Updated by Jörg Velletti about 8 years ago
Frans Saris wrote:
Hi Lukas,
this indeed looks like a change in behavior. But the search is now more predictable for the editors than before.
In your use-case the translations are shown because the record of the default language matches your search and not because the translated record matches your search.Groet Frans
can someone explain me why line 771 in DatabaseRecordList.php was Changed during this BugFix ?
before this patch:
if ($this->localizationView && $l10nEnabled ) {
after this patch:
if ($this->localizationView && $l10nEnabled && $this->searchString === '') {
All other changes in that patch looks logical to me, but this change, changes the behavior:
in my Case:
a backend editor wants to change the image of a specific translated entry, in the past he could search for a word in the default language and had, in localisation View, all Translated Records of this search hit attached.
So he does not need to know the translation of his search word in Russian (what he does not understand) but is able to change the image in all Translations of this. Now he hast do do (with 8 translations) do 8 Searches or needs to know the ID
Reverting just this line, i get back the old behavior and also this bug #77664 is fixed a nd i cant see a negative effect.
Updated by Jörg Velletti about 8 years ago
- File oldSearch.PNG oldSearch.PNG added
- File actualSearch.PNG actualSearch.PNG added
- File searchForGermanWord.PNG searchForGermanWord.PNG added
PS: there is no diffence between activation of option "Localisation View" or not
See images:
actualSearch ,
and when reverting that line:
i get "oldSearch" Result for englisch words and can also Search for translated Records "searchForGermanWord"
Updated by Frans Saris about 8 years ago
That check is there to prevent that a record is shown 2 times.
1st time because the search matched, 2th because the translated record is added there
Updated by Jörg Velletti about 8 years ago
Thanks for the confirmation.
Yesterday i though that this situation will not happen, but i build a scenario and you are right.
I explained it to the backend editor and he accepted the new situation ...