diff --git a/pkg/db/db.go b/pkg/db/db.go index cd36ed036..2b4fb484b 100644 --- a/pkg/db/db.go +++ b/pkg/db/db.go @@ -566,7 +566,7 @@ func (h *DBHandler) DBSelectAnyRelease(ctx context.Context, tx *sql.Tx, ignorePr ctx, selectQuery, ) - processedRows, err := h.processReleaseRows(ctx, err, rows, ignorePrepublishes, true) + processedRows, err := h.processReleaseRows(ctx, err, rows, ignorePrepublishes, false) if err != nil { return nil, err } @@ -822,7 +822,7 @@ func (h *DBHandler) DBSelectReleasesByAppLatestEslVersion(ctx context.Context, t deleted, ) - return h.processReleaseRows(ctx, err, rows, ignorePrepublishes, true) + return h.processReleaseRows(ctx, err, rows, ignorePrepublishes, false) } func (h *DBHandler) DBSelectAllReleasesOfApp(ctx context.Context, tx *sql.Tx, app string) (*DBAllReleasesWithMetaData, error) {