File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
pkg/appStore/installedApp/repository Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -439,15 +439,15 @@ func (impl *InstalledAppRepositoryImpl) GetAllInstalledApps(filter *appStoreBean
439439 }
440440 if len (filter .ChartRepoId ) > 0 {
441441 query = query + " AND ch.id IN (?) "
442- queryParams = append (queryParams , sqlIntSeq (filter .ChartRepoId ))
442+ queryParams = append (queryParams , pg . In (filter .ChartRepoId ))
443443 }
444444 if len (filter .EnvIds ) > 0 {
445445 query = query + " AND env.id IN (?) "
446- queryParams = append (queryParams , sqlIntSeq (filter .EnvIds ))
446+ queryParams = append (queryParams , pg . In (filter .EnvIds ))
447447 }
448448 if len (filter .ClusterIds ) > 0 {
449449 query = query + " AND cluster.id IN (?) "
450- queryParams = append (queryParams , sqlIntSeq (filter .ClusterIds ))
450+ queryParams = append (queryParams , pg . In (filter .ClusterIds ))
451451 }
452452 if len (filter .AppStatuses ) > 0 {
453453 appStatuses := pg .In (filter .AppStatuses )
You can’t perform that action at this time.
0 commit comments