Skip to content

Commit

Permalink
fix sql join syntax for source package search
Browse files Browse the repository at this point in the history
  • Loading branch information
mcalmer committed Jul 16, 2023
1 parent 52ae76a commit 4fddef4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1307,7 +1307,7 @@ public static DataResult<PackageOverview> listOrphanPackages(Long orgId, boolean
.from("rhnPackageSource PS " +
"inner join rhnSourceRPM SRPM on PS.source_rpm_id = SRPM.id " +
"left join rhnPackage P on SRPM.id = P.source_rpm_id " +
"left join rhnChannelPackage CP on CP.package_id")
"left join rhnChannelPackage CP on CP.package_id = P.id ")
.where("PS.org_id = :org_id AND CP.package_id is null")
.run(Map.of("org_id", orgId), pc, PagedSqlQueryBuilder::parseFilterAsText, PackageOverview.class);
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- fix syntax error in sql query for source package search

0 comments on commit 4fddef4

Please sign in to comment.