mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-05 12:12:18 +00:00
Rule engine and search engine now use the same operators; making them interchangeable.
This commit is contained in:
@@ -351,7 +351,7 @@ class FireflyValidator extends Validator
|
||||
}
|
||||
|
||||
// and finally a "will match everything check":
|
||||
$classes = app('config')->get('firefly.rule-triggers');
|
||||
$classes = array_keys(config('firefly.search.operators'));;
|
||||
/** @var TriggerInterface $class */
|
||||
$class = $classes[$triggerType] ?? false;
|
||||
if (false === $class) {
|
||||
|
Reference in New Issue
Block a user