aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle
diff options
context:
space:
mode:
Diffstat (limited to 'src/Wallabag/CoreBundle')
-rw-r--r--src/Wallabag/CoreBundle/Filter/EntryFilterType.php16
1 files changed, 15 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Filter/EntryFilterType.php b/src/Wallabag/CoreBundle/Filter/EntryFilterType.php
index 636ba324..2fa2f8a0 100644
--- a/src/Wallabag/CoreBundle/Filter/EntryFilterType.php
+++ b/src/Wallabag/CoreBundle/Filter/EntryFilterType.php
@@ -10,7 +10,21 @@ class EntryFilterType extends AbstractType
10{ 10{
11 public function buildForm(FormBuilderInterface $builder, array $options) 11 public function buildForm(FormBuilderInterface $builder, array $options)
12 { 12 {
13 $builder->add('readingTime', 'filter_number_range'); 13 $builder
14 ->add('readingTime', 'filter_number_range')
15 ->add('createdAt', 'filter_date_range', array(
16 'left_date_options' => array(
17 'attr' => array(
18 'placeholder' => 'dd/mm/yyyy'),
19 'format' => 'dd/MM/yyyy',
20 'widget' => 'single_text'
21 ),
22 'right_date_options' => array(
23 'attr' => array(
24 'placeholder' => 'dd/mm/yyyy'),
25 'format' => 'dd/MM/yyyy',
26 'widget' => 'single_text'
27 )));
14 } 28 }
15 29
16 public function getName() 30 public function getName()