Skip to content

Commit

Permalink
🐛 Fix DepReport sort. (#436)
Browse files Browse the repository at this point in the history
Missed this endpoint during one of the sort/pagination refactors.
Just needs to be _wired up_ properly.

Signed-off-by: Jeff Ortel <jortel@redhat.com>
  • Loading branch information
jortel authored Jul 6, 2023
1 parent cf60bcd commit df36681
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/analysis.go
Original file line number Diff line number Diff line change
Expand Up @@ -1362,6 +1362,7 @@ func (h AnalysisHandler) DepReports(ctx *gin.Context) {
db = db.Select("*")
db = db.Table("(?)", q)
db = filter.Where(db)
db = sort.Sorted(db)
var list []M
var m M
page := Page{}
Expand Down

0 comments on commit df36681

Please sign in to comment.