Bugfix
This commit is contained in:
@@ -72,7 +72,7 @@ class IndexPageListener
|
||||
$parsed['custom']['searchimage'] ?? null;
|
||||
|
||||
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'",
|
||||
];
|
||||
|
||||
$GLOBALS['TL_DCA']['tl_search']['fields']['imagepath'] = [
|
||||
'label' => ['Image Path', 'Speichert den Pfad des Bildes'],
|
||||
$GLOBALS['TL_DCA']['tl_search']['fields']['searchImage'] = [
|
||||
'label' => ['Suchbild', 'UUID des Suchbildes'],
|
||||
'exclude' => true,
|
||||
'inputType' => 'text',
|
||||
'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