mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-25 21:16:47 +00:00
Custom limit
This commit is contained in:
@@ -88,7 +88,7 @@ class SearchController extends Controller
|
||||
if (!$cache->has()) {
|
||||
// parse search terms:
|
||||
$searcher->parseQuery($fullQuery);
|
||||
$searcher->setLimit(20);
|
||||
$searcher->setLimit(intval(env('SEARCH_RESULT_LIMIT', 50)));
|
||||
$transactions = $searcher->searchTransactions();
|
||||
$cache->store($transactions);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user