From 444080f77d77af5020978b1320a9b3977ce0cf51 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Tue, 26 Apr 2016 01:39:57 +0100 Subject: Pass packageId, not a hard coded 1. --- gentoobrowse-api/service/maintenance/ebuildMetaProcessor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3