Skip to content

Firefly III: a personal finances manager

Add date attribute to the list row

HamuZ HamuZ2c0ad7047dd8
diff --git a/resources/views/v1/list/groups.twig b/resources/views/v1/list/groups.twig
index 2800fb70f2..dc56e482c4 100644
--- a/resources/views/v1/list/groups.twig
+++ b/resources/views/v1/list/groups.twig
@@ -54,7 +54,7 @@ TODO: hide and show columns
{% if group.transactions|length == loop.index and group.count > 1 %}
{% set style="border-bottom:1px #aaa solid;" %}
{% endif %}
- <tr>
+ <tr data-date="{{ transaction.date.format('Y-m-d') }}">
<td style=" {{ style|raw }}">
{% if transaction.transaction_type_type == 'Withdrawal' %}
<i class="fa fa-long-arrow-left fa-fw" title="{{ trans('firefly.Withdrawal') }}"></i>