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