Skip to content

Commit

Permalink
Fix: merged actions sort
Browse files Browse the repository at this point in the history
  • Loading branch information
aopoltorzhicky committed Sep 1, 2024
1 parent fe5e207 commit dba0944
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/storage/postgres/action.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ func (a *Action) ByRollupAndBridge(ctx context.Context, rollupId uint64, fltrs s
Join("left join tx on tx.id = rollup_action.tx_id").
Join("left join action on action.id = rollup_action.action_id").
Join("left join fee on fee.action_id = rollup_action.action_id")
query = sortScope(query, "rollup_action.time", fltrs.Sort)
err = query.Scan(ctx, &actions)
return
}

0 comments on commit dba0944

Please sign in to comment.