diff options
author | Kevin Decherf <kevin@kdecherf.com> | 2020-03-21 00:43:01 +0100 |
---|---|---|
committer | Kevin Decherf <kevin@kdecherf.com> | 2020-03-21 00:43:01 +0100 |
commit | 7fc38f667b3937c0760c1eee1a8cb0fda3135e3b (patch) | |
tree | cea143702bce866ca10f6ad7f0627529e9253d49 /src/Wallabag/CoreBundle | |
parent | ba820b12b691ecbbcc4a4c31ecb4dbeb084d27dd (diff) | |
download | wallabag-7fc38f667b3937c0760c1eee1a8cb0fda3135e3b.tar.gz wallabag-7fc38f667b3937c0760c1eee1a8cb0fda3135e3b.tar.zst wallabag-7fc38f667b3937c0760c1eee1a8cb0fda3135e3b.zip |
misc: reindent EntryFilterType
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
Diffstat (limited to 'src/Wallabag/CoreBundle')
-rw-r--r-- | src/Wallabag/CoreBundle/Form/Type/EntryFilterType.php | 29 |
1 files changed, 14 insertions, 15 deletions
diff --git a/src/Wallabag/CoreBundle/Form/Type/EntryFilterType.php b/src/Wallabag/CoreBundle/Form/Type/EntryFilterType.php index 17070c59..365804dd 100644 --- a/src/Wallabag/CoreBundle/Form/Type/EntryFilterType.php +++ b/src/Wallabag/CoreBundle/Form/Type/EntryFilterType.php | |||
@@ -73,23 +73,22 @@ class EntryFilterType extends AbstractType | |||
73 | 'label' => 'entry.filters.reading_time.label', | 73 | 'label' => 'entry.filters.reading_time.label', |
74 | ]) | 74 | ]) |
75 | ->add('createdAt', DateRangeFilterType::class, [ | 75 | ->add('createdAt', DateRangeFilterType::class, [ |
76 | 'left_date_options' => [ | 76 | 'left_date_options' => [ |
77 | 'attr' => [ | 77 | 'attr' => [ |
78 | 'placeholder' => 'dd/mm/yyyy', | 78 | 'placeholder' => 'dd/mm/yyyy', |
79 | ], | ||
80 | 'format' => 'dd/MM/yyyy', | ||
81 | 'widget' => 'single_text', | ||
82 | ], | 79 | ], |
83 | 'right_date_options' => [ | 80 | 'format' => 'dd/MM/yyyy', |
84 | 'attr' => [ | 81 | 'widget' => 'single_text', |
85 | 'placeholder' => 'dd/mm/yyyy', | 82 | ], |
86 | ], | 83 | 'right_date_options' => [ |
87 | 'format' => 'dd/MM/yyyy', | 84 | 'attr' => [ |
88 | 'widget' => 'single_text', | 85 | 'placeholder' => 'dd/mm/yyyy', |
89 | ], | 86 | ], |
90 | 'label' => 'entry.filters.created_at.label', | 87 | 'format' => 'dd/MM/yyyy', |
91 | ] | 88 | 'widget' => 'single_text', |
92 | ) | 89 | ], |
90 | 'label' => 'entry.filters.created_at.label', | ||
91 | ]) | ||
93 | ->add('domainName', TextFilterType::class, [ | 92 | ->add('domainName', TextFilterType::class, [ |
94 | 'apply_filter' => function (QueryInterface $filterQuery, $field, $values) { | 93 | 'apply_filter' => function (QueryInterface $filterQuery, $field, $values) { |
95 | $value = $values['value']; | 94 | $value = $values['value']; |