aboutsummaryrefslogtreecommitdiff
path: root/mod/mod-package-version-details.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'mod/mod-package-version-details.cxx')
-rw-r--r--mod/mod-package-version-details.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/mod/mod-package-version-details.cxx b/mod/mod-package-version-details.cxx
index d1b6dfe..fd8d9a1 100644
--- a/mod/mod-package-version-details.cxx
+++ b/mod/mod-package-version-details.cxx
@@ -338,8 +338,7 @@ handle (request& rq, response& rs)
using query = query<build>;
for (auto& b: build_db_->query<build> (
- (query::id.package.name == name &&
- compare_version_eq (query::id.package.version, ver, true) &&
+ (query::id.package == pkg->id &&
query::id.configuration.in_range (build_conf_names_->begin (),
build_conf_names_->end ())) +