misc: reindent EntryFilterType

Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
This commit is contained in:
Kevin Decherf 2020-03-21 00:43:01 +01:00
parent ba820b12b6
commit 7fc38f667b

View file

@ -73,23 +73,22 @@ class EntryFilterType extends AbstractType
'label' => 'entry.filters.reading_time.label',
])
->add('createdAt', DateRangeFilterType::class, [
'left_date_options' => [
'attr' => [
'placeholder' => 'dd/mm/yyyy',
],
'format' => 'dd/MM/yyyy',
'widget' => 'single_text',
'left_date_options' => [
'attr' => [
'placeholder' => 'dd/mm/yyyy',
],
'right_date_options' => [
'attr' => [
'placeholder' => 'dd/mm/yyyy',
],
'format' => 'dd/MM/yyyy',
'widget' => 'single_text',
'format' => 'dd/MM/yyyy',
'widget' => 'single_text',
],
'right_date_options' => [
'attr' => [
'placeholder' => 'dd/mm/yyyy',
],
'label' => 'entry.filters.created_at.label',
]
)
'format' => 'dd/MM/yyyy',
'widget' => 'single_text',
],
'label' => 'entry.filters.created_at.label',
])
->add('domainName', TextFilterType::class, [
'apply_filter' => function (QueryInterface $filterQuery, $field, $values) {
$value = $values['value'];