aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Wallabag/CoreBundle/Form/Type/EntryFilterType.php29
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'];