diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2016-04-26 01:39:57 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2016-04-26 01:40:38 +0100 |
commit | 444080f77d77af5020978b1320a9b3977ce0cf51 (patch) | |
tree | 6075b29b96dfbb5f1f41403d27d94c9e728faf18 | |
parent | Process global use flags (diff) | |
download | gentoobrowse-api-444080f77d77af5020978b1320a9b3977ce0cf51.tar.bz2 gentoobrowse-api-444080f77d77af5020978b1320a9b3977ce0cf51.tar.xz gentoobrowse-api-444080f77d77af5020978b1320a9b3977ce0cf51.zip |
Pass packageId, not a hard coded 1.
-rw-r--r-- | gentoobrowse-api/service/maintenance/ebuildMetaProcessor.cpp | 2 |
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; |