mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 23:45:10 +00:00
Rule engine and search engine now use the same operators; making them interchangeable.
This commit is contained in:
@@ -77,7 +77,7 @@ class Rule extends AbstractExtension
|
||||
return new TwigFunction(
|
||||
'allRuleTriggers',
|
||||
static function () {
|
||||
$ruleTriggers = array_keys(Config::get('firefly.rule-triggers'));
|
||||
$ruleTriggers = array_keys(config('firefly.search.operators'));;
|
||||
$possibleTriggers = [];
|
||||
foreach ($ruleTriggers as $key) {
|
||||
if ('user_action' !== $key) {
|
||||
|
Reference in New Issue
Block a user