mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Fix tag search
This commit is contained in:
parent
bee54146bf
commit
4bf86500bd
@ -428,7 +428,7 @@ class OperatorQuerySearch implements SearchInterface
|
||||
case 'has_any_tag':
|
||||
$this->collector->hasAnyTag();
|
||||
break;
|
||||
case 'tag':
|
||||
case 'tag_is':
|
||||
$result = $this->tagRepository->searchTag($value);
|
||||
if ($result->count() > 0) {
|
||||
$this->collector->setTags($result);
|
||||
|
@ -622,7 +622,7 @@ return [
|
||||
|
||||
// other interesting fields
|
||||
'tag_is' => ['alias' => false, 'trigger_class' => TagIs::class, 'needs_context' => true,],
|
||||
'tag' => ['alias' => true, 'alias_for' => 'tag', 'needs_context' => true,],
|
||||
'tag' => ['alias' => true, 'alias_for' => 'tag_is', 'needs_context' => true,],
|
||||
|
||||
'created_on' => ['alias' => false, 'trigger_class' => CreatedOn::class, 'needs_context' => true,],
|
||||
'created_at' => ['alias' => true, 'alias_for' => 'created_on', 'needs_context' => true,],
|
||||
|
Loading…
Reference in New Issue
Block a user