diff options
Diffstat (limited to 'src/Wallabag')
-rw-r--r-- | src/Wallabag/CoreBundle/Filter/EntryFilterType.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Filter/EntryFilterType.php b/src/Wallabag/CoreBundle/Filter/EntryFilterType.php index de95eed9..024486e6 100644 --- a/src/Wallabag/CoreBundle/Filter/EntryFilterType.php +++ b/src/Wallabag/CoreBundle/Filter/EntryFilterType.php | |||
@@ -33,7 +33,7 @@ class EntryFilterType extends AbstractType | |||
33 | ->add('domainName', 'filter_text', array( | 33 | ->add('domainName', 'filter_text', array( |
34 | 'apply_filter' => function (QueryInterface $filterQuery, $field, $values) { | 34 | 'apply_filter' => function (QueryInterface $filterQuery, $field, $values) { |
35 | $value = $values['value']; | 35 | $value = $values['value']; |
36 | if (strlen($value) <= 3 || empty($value)) { | 36 | if (strlen($value) <= 2 || empty($value)) { |
37 | return; | 37 | return; |
38 | } | 38 | } |
39 | $expression = $filterQuery->getExpr()->like($field, $filterQuery->getExpr()->literal('%'.$value.'%')); | 39 | $expression = $filterQuery->getExpr()->like($field, $filterQuery->getExpr()->literal('%'.$value.'%')); |