mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-15 16:57:09 +00:00
Learned that I should not refer to env vars directly so I removed all references.
This commit is contained in:
@@ -96,7 +96,7 @@ class SearchController extends Controller
|
||||
if (!$cache->has()) {
|
||||
// parse search terms:
|
||||
$searcher->parseQuery($fullQuery);
|
||||
$searcher->setLimit((int)env('SEARCH_RESULT_LIMIT', 50));
|
||||
$searcher->setLimit((int)config('firefly.search_result_limit'));
|
||||
$transactions = $searcher->searchTransactions();
|
||||
$cache->store($transactions);
|
||||
}
|
||||
|
Reference in New Issue
Block a user