mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-05 20:22:07 +00:00
This commit is contained in:
@@ -481,7 +481,7 @@ class OperatorQuerySearch implements SearchInterface
|
|||||||
$this->collector->withCategory();
|
$this->collector->withCategory();
|
||||||
break;
|
break;
|
||||||
case 'category_is':
|
case 'category_is':
|
||||||
$result = $this->categoryRepository->searchCategory($value, 25);
|
$result = $this->categoryRepository->searchCategory($value, 1337);
|
||||||
if ($result->count() > 0) {
|
if ($result->count() > 0) {
|
||||||
$this->collector->setCategories($result);
|
$this->collector->setCategories($result);
|
||||||
}
|
}
|
||||||
@@ -499,7 +499,7 @@ class OperatorQuerySearch implements SearchInterface
|
|||||||
$this->collector->withBudget();
|
$this->collector->withBudget();
|
||||||
break;
|
break;
|
||||||
case 'budget_is':
|
case 'budget_is':
|
||||||
$result = $this->budgetRepository->searchBudget($value, 25);
|
$result = $this->budgetRepository->searchBudget($value, 1337);
|
||||||
if ($result->count() > 0) {
|
if ($result->count() > 0) {
|
||||||
$this->collector->setBudgets($result);
|
$this->collector->setBudgets($result);
|
||||||
}
|
}
|
||||||
@@ -517,7 +517,7 @@ class OperatorQuerySearch implements SearchInterface
|
|||||||
$this->collector->withBill();
|
$this->collector->withBill();
|
||||||
break;
|
break;
|
||||||
case 'bill_is':
|
case 'bill_is':
|
||||||
$result = $this->billRepository->searchBill($value, 25);
|
$result = $this->billRepository->searchBill($value, 1337);
|
||||||
if ($result->count() > 0) {
|
if ($result->count() > 0) {
|
||||||
$this->collector->setBills($result);
|
$this->collector->setBills($result);
|
||||||
}
|
}
|
||||||
@@ -708,7 +708,7 @@ class OperatorQuerySearch implements SearchInterface
|
|||||||
}
|
}
|
||||||
|
|
||||||
// get accounts:
|
// get accounts:
|
||||||
$accounts = $this->accountRepository->searchAccount($value, $searchTypes, 25);
|
$accounts = $this->accountRepository->searchAccount($value, $searchTypes, 1337);
|
||||||
if (0 === $accounts->count()) {
|
if (0 === $accounts->count()) {
|
||||||
Log::debug('Found zero accounts, search for non existing account, NO results will be returned.');
|
Log::debug('Found zero accounts, search for non existing account, NO results will be returned.');
|
||||||
$this->collector->findNothing();
|
$this->collector->findNothing();
|
||||||
@@ -769,7 +769,7 @@ class OperatorQuerySearch implements SearchInterface
|
|||||||
}
|
}
|
||||||
|
|
||||||
// search for accounts:
|
// search for accounts:
|
||||||
$accounts = $this->accountRepository->searchAccountNr($value, $searchTypes, 25);
|
$accounts = $this->accountRepository->searchAccountNr($value, $searchTypes, 1337);
|
||||||
if (0 === $accounts->count()) {
|
if (0 === $accounts->count()) {
|
||||||
Log::debug('Found zero accounts, search for invalid account.');
|
Log::debug('Found zero accounts, search for invalid account.');
|
||||||
$this->collector->findNothing();
|
$this->collector->findNothing();
|
||||||
|
Reference in New Issue
Block a user