mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-06 04:34:00 +00:00
Round the search time and make sure the count is shown #2453
This commit is contained in:
@@ -89,7 +89,7 @@ class SearchController extends Controller
|
||||
$searcher->parseQuery($fullQuery);
|
||||
$searcher->setLimit((int)config('firefly.search_result_limit'));
|
||||
$groups = $searcher->searchTransactions();
|
||||
$searchTime = $searcher->searchTime(); // in seconds
|
||||
$searchTime = round($searcher->searchTime(), 3); // in seconds
|
||||
|
||||
try {
|
||||
$html = view('search.search', compact('groups','searchTime'))->render();
|
||||
|
Reference in New Issue
Block a user