Mention $other in chart cache. [skip ci]

This commit is contained in:
James Cole
2016-12-23 18:48:21 +01:00
parent cea170359f
commit 9c4d2e8791
2 changed files with 6 additions and 0 deletions

View File

@@ -84,6 +84,7 @@ class BudgetReportController extends Controller
$cache->addProperty($budgets);
$cache->addProperty($start);
$cache->addProperty($end);
$cache->addProperty($others);
if ($cache->has()) {
return Response::json($cache->get());
}
@@ -140,6 +141,7 @@ class BudgetReportController extends Controller
$cache->addProperty($budgets);
$cache->addProperty($start);
$cache->addProperty($end);
$cache->addProperty($others);
if ($cache->has()) {
return Response::json($cache->get());
}

View File

@@ -83,6 +83,7 @@ class CategoryReportController extends Controller
$cache->addProperty($categories);
$cache->addProperty($start);
$cache->addProperty($end);
$cache->addProperty($others);
if ($cache->has()) {
return Response::json($cache->get());
}
@@ -138,6 +139,7 @@ class CategoryReportController extends Controller
$cache->addProperty($accounts);
$cache->addProperty($categories);
$cache->addProperty($start);
$cache->addProperty($others);
$cache->addProperty($end);
if ($cache->has()) {
return Response::json($cache->get());
@@ -194,6 +196,7 @@ class CategoryReportController extends Controller
$cache->addProperty($categories);
$cache->addProperty($start);
$cache->addProperty($end);
$cache->addProperty($others);
if ($cache->has()) {
return Response::json($cache->get());
}
@@ -250,6 +253,7 @@ class CategoryReportController extends Controller
$cache->addProperty($categories);
$cache->addProperty($start);
$cache->addProperty($end);
$cache->addProperty($others);
if ($cache->has()) {
return Response::json($cache->get());
}