Project

General

Profile

Actions

Task #91676

closed

Backend Search LTS-9: Not working for Slug Fields

Added by Michael Christian over 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2020-06-18
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
easy
Sprint Focus:

Description

Action: Submit a backend-search with a search term which is only in the slug field (TCA: searchFields => 'slug' is set!)
Result: no Result! Slug Content not found
Reason: Missing $fieldType === 'slug' in typo3/sysext/recordlist/Classes/RecordList/DatabaseRecordList.php
=> function makeSearchString()
Fix:

if ($fieldType === 'text'
   || $fieldType === 'flex'
   || $fieldType === 'slug' // NEW LINE
   || $fieldType === 'input' && (!$evalRules || !preg_match('/\b(?:date|time|int)\b/', $evalRules))
) {

Could someone fix this please!
Thank you. :-)

Actions #1

Updated by Oliver Hader over 4 years ago

  • Category set to Backend User Interface
Actions #2

Updated by Oliver Hader over 4 years ago

  • Tracker changed from Bug to Task
Actions #3

Updated by Gerrit Code Review over 4 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/c/Packages/TYPO3.CMS/+/64936

Actions #4

Updated by Gerrit Code Review over 4 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/c/Packages/TYPO3.CMS/+/64936

Actions #5

Updated by Gerrit Code Review over 4 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/c/Packages/TYPO3.CMS/+/64936

Actions #6

Updated by Gerrit Code Review over 4 years ago

Patch set 1 for branch 10.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65300

Actions #7

Updated by Markus Hölzle over 4 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #8

Updated by Benni Mack almost 4 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF