diff options
-rw-r--r-- | gentoobrowse/src/packages.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |