mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-10 03:38:10 +00:00
This commit is contained in:
@@ -98,7 +98,9 @@ class CreateController extends Controller
|
||||
$operators = $search->getOperators()->toArray();
|
||||
if ('' !== $words) {
|
||||
session()->flash('warning', trans('firefly.rule_from_search_words', ['string' => $words]));
|
||||
$operators[] = ['type' => 'description_contains', 'value' => $words];
|
||||
$operators[] = [
|
||||
'type' => 'description_contains',
|
||||
'value' => $words];
|
||||
}
|
||||
$oldTriggers = $this->parseFromOperators($operators);
|
||||
}
|
||||
|
||||
@@ -146,6 +146,7 @@ trait RuleManagement
|
||||
'oldTrigger' => OperatorQuerySearch::getRootOperator($operator['type']),
|
||||
'oldValue' => $operator['value'],
|
||||
'oldChecked' => false,
|
||||
'oldProhibited' => $operator['prohibited'] ?? false,
|
||||
'count' => $index + 1,
|
||||
'triggers' => $triggers,
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user