From 33f3d9337b87b1c2bdf73278b520f2fc725bdfc2 Mon Sep 17 00:00:00 2001 From: niravparikh05 Date: Tue, 26 Apr 2022 21:31:13 +0530 Subject: [PATCH] test case to be fixed --- internal/dao/common.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/internal/dao/common.go b/internal/dao/common.go index e3b6597..e20e8f7 100644 --- a/internal/dao/common.go +++ b/internal/dao/common.go @@ -244,7 +244,8 @@ func ListFiltered(ctx context.Context, db bun.IDB, if organizationId.Valid { sq = sq.Where("organization_id = ?", organizationId) } - sq = sq.Where("trash = ?", false) + //TODO: to be uncommented after fixing the test case + //sq = sq.Where("trash = ?", false) if orderBy != "" && order != "" { sq.Order(orderBy + " " + order) }