fix: include orphaned packages in metadata output

Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
Kevin Morris 2022-10-11 14:50:09 -07:00
parent 3ae6323a7c
commit 18f5e142b9
No known key found for this signature in database
GPG key ID: F7E46DED420788F3

View file

@ -22,7 +22,7 @@ class Spec(SpecBase):
base_query = (
db.query(Package)
.join(PackageBase)
.join(User, PackageBase.MaintainerUID == User.ID)
.join(User, PackageBase.MaintainerUID == User.ID, isouter=True)
)
# Create an instance of RPC, use it to get entities from