1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-07-19 13:19:39 +02:00

fix: Fix incorrect entry sorting in activity view (#2006)
Some checks are pending
Publish Docker image / ci (push) Waiting to run
Publish Docker image / Build docker image (push) Blocked by required conditions

This commit is contained in:
Tony Vincent 2025-03-21 15:32:05 +01:00 committed by GitHub
parent 9122eafd31
commit 5a8074c7ee
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -18,7 +18,7 @@ module Account::EntriesHelper
end end
end end
deduped_entries.group_by(&:date).map do |date, grouped_entries| deduped_entries.group_by(&:date).sort.reverse_each.map do |date, grouped_entries|
content = capture do content = capture do
yield grouped_entries yield grouped_entries
end end