Skip to content

Commit

Permalink
Fix Sorting of PR Activity Listing (#2061)
Browse files Browse the repository at this point in the history
  • Loading branch information
johannesHarness authored and Harness committed May 23, 2024
1 parent adf041d commit 1f43f09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/store/database/pullreq_activity.go
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ func (s *PullReqActivityStore) List(ctx context.Context,

stmt = applyFilter(filter, stmt)

stmt.OrderBy("pullreq_activity_order asc", "pullreq_activity_sub_order asc")
stmt = stmt.OrderBy("pullreq_activity_order asc", "pullreq_activity_sub_order asc")

sql, args, err := stmt.ToSql()
if err != nil {
Expand Down

0 comments on commit 1f43f09

Please sign in to comment.