Move search operators to dedicated file and add lots of new ones.

This commit is contained in:
James Cole
2022-03-20 07:42:39 +01:00
parent c000e090fe
commit ba10aa5ca5
12 changed files with 355 additions and 218 deletions

View File

@@ -92,7 +92,7 @@ class OperatorQuerySearch implements SearchInterface
$this->invalidOperators = [];
$this->limit = 25;
$this->date = today(config('app.timezone'));
$this->validOperators = array_keys(config('firefly.search.operators'));
$this->validOperators = array_keys(config('search.operators'));
$this->startTime = microtime(true);
$this->accountRepository = app(AccountRepositoryInterface::class);
$this->categoryRepository = app(CategoryRepositoryInterface::class);