Skip to content

Firefly III: a personal finances manager

Add sort by current balance.

James Cole7c5a8c00674e
diff --git a/resources/views/accounts/index.blade.php b/resources/views/accounts/index.blade.php
index 9e9b06304d..3cba867abe 100644
--- a/resources/views/accounts/index.blade.php
+++ b/resources/views/accounts/index.blade.php
@@ -36,7 +36,7 @@
</template>
<th data-column="account_number_and_iban" :class="{'sortable': true, 'sortable_sorted': 'account_number_and_iban' === sortColumn, 'sortable_sorted_asc': 'asc' === sortDirection, 'sortable_sorted_desc': 'desc' === sortDirection }">{{ trans('form.account_number') }}</th>
<template x-if="'liabilities' !== objectType">
- <th class="text-end">{{ trans('list.currentBalance') }}</th>
+ <th data-column="current_balance" :class="{'text-end': true, 'sortable': true, 'sortable_sorted': 'current_balance' === sortColumn, 'sortable_sorted_asc': 'asc' === sortDirection, 'sortable_sorted_desc': 'desc' === sortDirection }">{{ trans('list.currentBalance') }}</th>
</template>
<template x-if="'liabilities' === objectType">
<th class="text-end">