From a7eea94be32643918316a1ad8290a4a87eb874f6 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Thu, 2 Feb 2017 08:49:33 +0000 Subject: Home page ebuilds should be grouped by firstseen, not moddate --- gentoobrowse/src/packages.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gentoobrowse/src/packages.cpp b/gentoobrowse/src/packages.cpp index 04c4a69..c3e6d6c 100644 --- a/gentoobrowse/src/packages.cpp +++ b/gentoobrowse/src/packages.cpp @@ -68,7 +68,7 @@ namespace GentooBrowse { for(const auto & ebuild : ebuilds) { auto & p = packages[ebuild->packageid]; auto & c = categories[p->categoryid]; - auto & s = _responseModel->syncs[ebuild->moddate.substr(0, 10)]; + auto & s = _responseModel->syncs[ebuild->firstseen.substr(0, 10)]; bool isTracked = std::find(tracked.begin(), tracked.end(), p->packageid) != tracked.end(); auto & pw = s[{ isTracked, c->name }][{ isTracked, p->name }]; if (!pw.detail) pw.detail = p; -- cgit v1.2.3