Skip to content

Commit b04fe6b

Browse files
committed
Fix bounces not being sorted by type field. Closes #2444.
1 parent 2e56322 commit b04fe6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/core/bounces.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"github.com/lib/pq"
1010
)
1111

12-
var bounceQuerySortFields = []string{"email", "campaign_name", "source", "created_at"}
12+
var bounceQuerySortFields = []string{"email", "campaign_name", "source", "created_at", "type"}
1313

1414
// QueryBounces retrieves paginated bounce entries based on the given params.
1515
// It also returns the total number of bounce records in the DB.

0 commit comments

Comments
 (0)