Skip to content

Firefly III: a personal finances manager

Better caching.

James Cole4f38b77ef6c9
diff --git a/app/Repositories/Account/AccountRepository.php b/app/Repositories/Account/AccountRepository.php
index 1dfa4d133c..2668c85938 100644
--- a/app/Repositories/Account/AccountRepository.php
+++ b/app/Repositories/Account/AccountRepository.php
@@ -158,6 +158,7 @@ class AccountRepository implements AccountRepositoryInterface
$cache->addProperty($account->id);
$cache->addProperty($start);
$cache->addProperty($end);
+ $cache->addProperty('frontpage-transactions');
if ($cache->has()) {
return $cache->get(); // @codeCoverageIgnore
}