test case to be fixed

This commit is contained in:
niravparikh05
2022-04-26 21:31:13 +05:30
parent 101c005312
commit 33f3d9337b
+2 -1
View File
@@ -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)
}