Skip to content

Commit b5382eb

Browse files
query fix (#5971)
1 parent ecc458f commit b5382eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/sql/repository/helper/AppListingRepositoryQueryBuilder.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ func (impl AppListingRepositoryQueryBuilder) buildAppListingWhereCondition(appLi
260260
}
261261
if isNotDeployedFilterApplied {
262262
deploymentAppType := "manifest_download"
263-
whereCondition += " and (p.deployment_app_created=? and (p.deployment_app_type != ? || dc.deployment_app_type != ? ) or a.id NOT IN (SELECT app_id from pipeline) "
263+
whereCondition += " and (p.deployment_app_created=? and (p.deployment_app_type != ? or dc.deployment_app_type != ? ) or a.id NOT IN (SELECT app_id from pipeline) "
264264
queryParams = append(queryParams, false, deploymentAppType, deploymentAppType)
265265
if len(appStatusExcludingNotDeployed) > 0 {
266266
whereCondition += " or aps.status IN (?) "

0 commit comments

Comments
 (0)