From 6e90b57a442424876b1325b9209f79c8a885a479 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Tue, 4 Jul 2017 11:27:47 +0300 Subject: Make use of foreign package objects in build-related functionality --- mod/mod-package-version-details.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'mod/mod-package-version-details.cxx') 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; for (auto& b: build_db_->query ( - (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 ())) + -- cgit v1.1