We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7c2cb4b commit bf83a41Copy full SHA for bf83a41
routers/web/explore/user.go
@@ -86,6 +86,7 @@ func RenderUserSearch(ctx *context.Context, opts *user_model.SearchUserOptions,
86
}
87
88
if opts.SupportedSortOrders != nil && !opts.SupportedSortOrders.Contains(sortOrder) {
89
+ ctx.NotFound("unsupported sort order", nil)
90
return
91
92
0 commit comments