mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-29 06:34:37 +00:00
Custom limit
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user