Skip to content

Commit 4d32d91

Browse files
committed
Add missing tie-breakers
1 parent 81af904 commit 4d32d91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/persistence/kafkatopic/sortfilter.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ func init() {
2828
}, "CONSUMER", "TEAM_SLUG", "ACCESS")
2929
SortFilterTopicACL.RegisterSort("TEAM_SLUG", func(ctx context.Context, a, b *KafkaTopicACL) int {
3030
return strings.Compare(a.TeamName, b.TeamName)
31-
})
31+
}, "TOPIC_NAME", "CONSUMER", "ACCESS")
3232
SortFilterTopicACL.RegisterSort("ACCESS", func(ctx context.Context, a, b *KafkaTopicACL) int {
3333
return strings.Compare(a.Access, b.Access)
3434
})

0 commit comments

Comments
 (0)