Store booleans correctly.

This commit is contained in:
James Cole
2018-12-21 15:42:57 +01:00
parent 922c8703f5
commit a5520d45e7
6 changed files with 20 additions and 6 deletions

View File

@@ -276,6 +276,7 @@ class CurrencyController extends Controller
$pageSize = (int)app('preferences')->getForUser(auth()->user(), 'listPageSize', 50)->data;
$unfiltered = $repository->getAllBudgetLimits($this->parameters->get('start'), $this->parameters->get('end'));
// TODO replace this
// filter budget limits on currency ID
$collection = $unfiltered->filter(
function (BudgetLimit $budgetLimit) use ($currency) {