Bugfix
This commit is contained in:
@@ -72,7 +72,7 @@ class IndexPageListener
|
|||||||
$parsed['custom']['searchimage'] ?? null;
|
$parsed['custom']['searchimage'] ?? null;
|
||||||
|
|
||||||
if (is_string($image) && $image !== '') {
|
if (is_string($image) && $image !== '') {
|
||||||
$set['searchImage'] = trim($image);
|
$set['imagepath'] = trim($image);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ $GLOBALS['TL_DCA']['tl_search']['fields']['priority'] = [
|
|||||||
'sql' => "int(1) NOT NULL default '2'",
|
'sql' => "int(1) NOT NULL default '2'",
|
||||||
];
|
];
|
||||||
|
|
||||||
$GLOBALS['TL_DCA']['tl_search']['fields']['searchImage'] = [
|
$GLOBALS['TL_DCA']['tl_search']['fields']['imagepath'] = [
|
||||||
'label' => ['Suchbild', 'UUID des Suchbildes'],
|
'label' => ['Suchbild', 'UUID des Suchbildes'],
|
||||||
'exclude' => true,
|
'exclude' => true,
|
||||||
'inputType' => 'text',
|
'inputType' => 'text',
|
||||||
|
|||||||
Reference in New Issue
Block a user