summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2016-04-26 01:39:57 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2016-04-26 01:40:38 +0100
commit05c2465223424d266d4d44c691aa9f2388fc80a0 (patch)
tree6075b29b96dfbb5f1f41403d27d94c9e728faf18
parentProcess global use flags (diff)
downloadgentoobrowse-api-05c2465223424d266d4d44c691aa9f2388fc80a0.tar.bz2
gentoobrowse-api-05c2465223424d266d4d44c691aa9f2388fc80a0.tar.xz
gentoobrowse-api-05c2465223424d266d4d44c691aa9f2388fc80a0.zip
Pass packageId, not a hard coded 1.
-rw-r--r--gentoobrowse-api/service/maintenance/ebuildMetaProcessor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gentoobrowse-api/service/maintenance/ebuildMetaProcessor.cpp b/gentoobrowse-api/service/maintenance/ebuildMetaProcessor.cpp
index dbb3ea3..7477c63 100644
--- a/gentoobrowse-api/service/maintenance/ebuildMetaProcessor.cpp
+++ b/gentoobrowse-api/service/maintenance/ebuildMetaProcessor.cpp
@@ -116,7 +116,7 @@ namespace Gentoo {
dbc->patchTable(&t);
if (newest) {
// HOMEPAGE
- U::EntityWhereFilter pwf("packageId", 1);
+ U::EntityWhereFilter pwf("packageId", packageId);
U::SplitEbuildProps sep_homepage("packageId", packageId, "url", ecp.get("HOMEPAGE"));
t.dest = "gentoobrowse.package_urls";
t.srcExpr = &sep_homepage;