Skip to content

Commit

Permalink
Add more types.
Browse files Browse the repository at this point in the history
  • Loading branch information
JC5 committed Sep 10, 2020
1 parent 600e98c commit 562be45
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app/Support/Search/OperatorQuerySearch.php
Expand Up @@ -38,8 +38,11 @@
use FireflyIII\Support\ParseDateString;
use FireflyIII\User;
use Gdbots\QueryParser\Node\Date;
use Gdbots\QueryParser\Node\Emoji;
use Gdbots\QueryParser\Node\Emoticon;
use Gdbots\QueryParser\Node\Field;
use Gdbots\QueryParser\Node\Hashtag;
use Gdbots\QueryParser\Node\Mention;
use Gdbots\QueryParser\Node\Node;
use Gdbots\QueryParser\Node\Numbr;
use Gdbots\QueryParser\Node\Phrase;
Expand Down Expand Up @@ -228,6 +231,9 @@ private function handleSearchNode(Node $searchNode): void
case Url::class:
case Date::class:
case Hashtag::class:
case Emoticon::class:
case Emoji::class:
case Mention::class:
Log::debug(sprintf('Now handle %s', $class));
$this->words[] = (string) $searchNode->getValue();
break;
Expand Down

0 comments on commit 562be45

Please sign in to comment.