#91676Backend Search LTS-9: Not working for Slug Fields
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*:
*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. :-)