Skip to content

Commit

Permalink
Merge pull request #26 from DERHAEUPTLING/bugfix/increase-+filter-length
Browse files Browse the repository at this point in the history
Allow filter expressions with up to 1024 chars + improve BE view
  • Loading branch information
m-vo authored Jul 30, 2020
2 parents 6eea588 + 94370e6 commit 158cfd4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Resources/contao/dca/tl_module.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@

$GLOBALS['TL_DCA']['tl_module']['fields']['immoscout24_filter'] = [
'exclude' => true,
'eval' => ['tl_class' => 'clr', 'preserveTags' => true],
'inputType' => 'text',
'sql' => "varchar(256) NOT NULL default ''",
'eval' => ['tl_class' => 'clr', 'preserveTags' => true, 'maxlength' => 1204],
'inputType' => 'textarea',
'sql' => "varchar(1024) NOT NULL default ''",
];

$GLOBALS['TL_DCA']['tl_module']['fields']['immoscout24_number_of_items'] = [
Expand Down

0 comments on commit 158cfd4

Please sign in to comment.