transactions.html can edit though needs some kinda user feedback of the changed row or something...
All checks were successful
cicd / ci (push) Successful in 1m28s
All checks were successful
cicd / ci (push) Successful in 1m28s
This commit is contained in:
@@ -31,7 +31,10 @@ func (deltas Deltas) Transactions() Transactions {
|
||||
|
||||
slices.SortFunc(result, func(a, b Transaction) int {
|
||||
if a[0].Date == b[0].Date {
|
||||
return strings.Compare(a[0].Transaction, b[0].Transaction)
|
||||
if a[0].Description == b[0].Description {
|
||||
return strings.Compare(a[0].Transaction, b[0].Transaction)
|
||||
}
|
||||
return strings.Compare(a[0].Description, b[0].Description)
|
||||
}
|
||||
return strings.Compare(a[0].Date, b[0].Date)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user