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['imagepath'] = trim($image);
|
$set['searchImage'] = trim($image);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
@@ -19,8 +19,8 @@ $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']['imagepath'] = [
|
$GLOBALS['TL_DCA']['tl_search']['fields']['searchImage'] = [
|
||||||
'label' => ['Image Path', 'Speichert den Pfad des Bildes'],
|
'label' => ['Suchbild', 'UUID des Suchbildes'],
|
||||||
'exclude' => true,
|
'exclude' => true,
|
||||||
'inputType' => 'text',
|
'inputType' => 'text',
|
||||||
'eval' => ['maxlength' => 512],
|
'eval' => ['maxlength' => 512],
|
||||||
|
|||||||
@@ -1,12 +0,0 @@
|
|||||||
<?php
|
|
||||||
|
|
||||||
namespace MummertMedia\ContaoMeilisearchBundle\Service;
|
|
||||||
|
|
||||||
class MeilisearchImageHelper
|
|
||||||
{
|
|
||||||
public function __construct()
|
|
||||||
{
|
|
||||||
// Minimal-Debug
|
|
||||||
error_log('MeilisearchImageHelper geladen');
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user