This commit is contained in:
Jürgen Mummert
2025-12-27 17:03:20 +01:00
parent 973f3f5b3e
commit 2c53b7862e
6 changed files with 199 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
<?php
$GLOBALS['TL_DCA']['tl_module']['palettes']['meilisearch_search'] =
'{title_legend},name,type;
{search_legend},meiliLimit;
{protected_legend:hide},protected;
{expert_legend:hide},cssID';
$GLOBALS['TL_DCA']['tl_module']['fields']['meiliLimit'] = [
'label' => &$GLOBALS['TL_LANG']['tl_module']['meiliLimit'],
'inputType' => 'text',
'default' => 50,
'eval' => [
'rgxp' => 'digit',
'mandatory' => true,
'tl_class' => 'w50',
],
'sql' => "int(10) unsigned NOT NULL default 50",
];