James Cole
2023-10-15 12:45:27 +02:00
parent 127b6ea515
commit 028ef63f6e
2 changed files with 9 additions and 6 deletions

View File

@@ -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);
}