mirror of
https://github.com/wallabag/wallabag.git
synced 2025-02-18 11:45:14 +00:00
misc: reindent EntryFilterType
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
This commit is contained in:
parent
ba820b12b6
commit
7fc38f667b
1 changed files with 14 additions and 15 deletions
|
@ -73,23 +73,22 @@ class EntryFilterType extends AbstractType
|
||||||
'label' => 'entry.filters.reading_time.label',
|
'label' => 'entry.filters.reading_time.label',
|
||||||
])
|
])
|
||||||
->add('createdAt', DateRangeFilterType::class, [
|
->add('createdAt', DateRangeFilterType::class, [
|
||||||
'left_date_options' => [
|
'left_date_options' => [
|
||||||
'attr' => [
|
'attr' => [
|
||||||
'placeholder' => 'dd/mm/yyyy',
|
'placeholder' => 'dd/mm/yyyy',
|
||||||
],
|
|
||||||
'format' => 'dd/MM/yyyy',
|
|
||||||
'widget' => 'single_text',
|
|
||||||
],
|
],
|
||||||
'right_date_options' => [
|
'format' => 'dd/MM/yyyy',
|
||||||
'attr' => [
|
'widget' => 'single_text',
|
||||||
'placeholder' => 'dd/mm/yyyy',
|
],
|
||||||
],
|
'right_date_options' => [
|
||||||
'format' => 'dd/MM/yyyy',
|
'attr' => [
|
||||||
'widget' => 'single_text',
|
'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, [
|
->add('domainName', TextFilterType::class, [
|
||||||
'apply_filter' => function (QueryInterface $filterQuery, $field, $values) {
|
'apply_filter' => function (QueryInterface $filterQuery, $field, $values) {
|
||||||
$value = $values['value'];
|
$value = $values['value'];
|
||||||
|
|
Loading…
Reference in a new issue