mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-16 22:58:09 +00:00
Modify search for #963
This commit is contained in:
@@ -82,7 +82,7 @@ class SearchController extends Controller
|
||||
$cache->addProperty($fullQuery);
|
||||
|
||||
if ($cache->has()) {
|
||||
$transactions = $cache->get();
|
||||
//$transactions = $cache->get();
|
||||
}
|
||||
|
||||
if (!$cache->has()) {
|
||||
@@ -93,7 +93,6 @@ class SearchController extends Controller
|
||||
$cache->store($transactions);
|
||||
}
|
||||
|
||||
|
||||
$html = view('search.search', compact('transactions'))->render();
|
||||
|
||||
return Response::json(['count' => $transactions->count(), 'html' => $html]);
|
||||
|
||||
Reference in New Issue
Block a user