From 36360b3f899dd97dbbce606b52554ce8aa619b3d Mon Sep 17 00:00:00 2001 From: Jeff Ortel Date: Thu, 11 Jul 2024 15:48:23 -0500 Subject: [PATCH] :bug: Fix error: 'ambiguous column name: id' (#719) Signed-off-by: Jeff Ortel --- api/analysis.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/analysis.go b/api/analysis.go index dfc385293..977e89131 100644 --- a/api/analysis.go +++ b/api/analysis.go @@ -138,6 +138,8 @@ func (h AnalysisHandler) List(ctx *gin.Context) { _ = ctx.Error(err) return } + filter = filter.Renamed("id", "analysis\\.id") + // sort. sort := Sort{} err = sort.With(ctx, &model.Analysis{}) if err != nil {