1
0
forked from ALHP/ALHP.GO

do not include skipped packages in LTO stats

This commit is contained in:
2021-11-25 13:51:59 +01:00
parent faa98c8494
commit 1645c64314

View File

@@ -445,7 +445,7 @@ func (b *BuildManager) htmlWorker() {
Count int `json:"count"`
}
db.DbPackage.Query().GroupBy(dbpackage.FieldLto).Aggregate(ent.Count()).ScanX(context.Background(), &v2)
db.DbPackage.Query().Where(dbpackage.StatusNEQ(dbpackage.StatusSkipped)).GroupBy(dbpackage.FieldLto).Aggregate(ent.Count()).ScanX(context.Background(), &v2)
for _, c := range v2 {
switch c.Status {