From 169ff017cbbaa01d8944c3c2f3e9e724568e4a03 Mon Sep 17 00:00:00 2001 From: Jeff Ortel Date: Wed, 11 Oct 2023 08:44:47 -0700 Subject: [PATCH] :bug: Fix business service filter of issues. Signed-off-by: Jeff Ortel --- api/analysis.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/analysis.go b/api/analysis.go index 459581996..680b73a69 100644 --- a/api/analysis.go +++ b/api/analysis.go @@ -1652,7 +1652,7 @@ func (h *AnalysisHandler) appIDs(ctx *gin.Context, f qf.Filter) (q *gorm.DB) { iq = iq.Model(&model.BusinessService{}) iq = iq.Select("ID") iq = bsFilter.Where(iq) - q = q.Where("ID IN (?)", iq) + q = q.Where("BusinessServiceID IN (?)", iq) return } return