diff options
author | Christopher Baines <mail@cbaines.net> | 2021-05-12 08:27:48 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2021-05-12 08:27:48 +0100 |
commit | cdb41cfa3cd83e99d0d11a28b9d52749a82bf902 (patch) | |
tree | f0afd4e9c0bc12db396cfc9f3a128ef18d2ae6f1 | |
parent | d13a7187afb149b0c2cb2acfba7f0598d8af26b7 (diff) | |
download | data-service-cdb41cfa3cd83e99d0d11a28b9d52749a82bf902.tar data-service-cdb41cfa3cd83e99d0d11a28b9d52749a82bf902.tar.gz |
Fix query typo in branches-by-package-version
-rw-r--r-- | guix-data-service/model/package.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guix-data-service/model/package.scm b/guix-data-service/model/package.scm index 6f7d204..813d820 100644 --- a/guix-data-service/model/package.scm +++ b/guix-data-service/model/package.scm @@ -579,7 +579,7 @@ INNER JOIN package_derivations ON package_derivations.id = guix_revision_package_derivations.package_derivation_id AND package_derivations.target = $3 INNER JOIN systems - ON package_derivations.system_id = systems_id + ON package_derivations.system_id = systems.id AND systems.system = $2 INNER JOIN packages ON package_derivations.package_id = packages.id |