Skip to content

Commit

Permalink
Change priority for returning status pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Chrisbattarbee committed Apr 4, 2024
1 parent c4577da commit 3b89560
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apiserver/internal/server/status_page_search.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func (s *Server) statusPageSearch(context *gin.Context) {

// Sort the status pages by score
sort.Slice(statusPagesRanked, func(i, j int) bool {
return statusPagesRanked[i].Score > statusPagesRanked[j].Score
return statusPagesRanked[i].Score < statusPagesRanked[j].Score
})

var statusPages []api.StatusPage
Expand Down

0 comments on commit 3b89560

Please sign in to comment.