Skip to content

Commit

Permalink
Filter\Text: Prevent empty string
Browse files Browse the repository at this point in the history
  • Loading branch information
o5 committed Nov 6, 2013
1 parent 0e36dbf commit 73261fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Grido/Components/Filters/Text.php
Expand Up @@ -81,7 +81,7 @@ public function handleSuggest($query)
{
$name = $this->getName();

if (!$this->getPresenter()->isAjax() || !$this->suggestion) {
if (!$this->getPresenter()->isAjax() || !$this->suggestion || $query == '') {
$this->getPresenter()->terminate();
}

Expand Down

0 comments on commit 73261fc

Please sign in to comment.