diff options
Diffstat (limited to 'pkg/app/list/show.go')
-rw-r--r-- | pkg/app/list/show.go | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/pkg/app/list/show.go b/pkg/app/list/show.go index 5231b5b..79ea8f2 100644 --- a/pkg/app/list/show.go +++ b/pkg/app/list/show.go @@ -31,13 +31,6 @@ func ComputeShowTemplateData(listName string) interface{} { WhereOr(`subject LIKE 'Re: [` + listName + `]%'`) return q, nil }). - //WhereGroup(func(q *orm.Query) (*orm.Query, error) { - // q = q.WhereOr(`to LIKE '%` + listName + `@lists.gentoo.org%'`). - // WhereOr(`cc LIKE '%` + listName + `@lists.gentoo.org%'`). - // WhereOr(`to LIKE '%` + listName + `@gentoo.org%'`). - // WhereOr(`cc LIKE '%` + listName + `@gentoo.org%'`) - // return q, nil - //}). ColumnExpr("to_char(date, 'YYYY-MM') AS combined_date"). ColumnExpr("count(*) AS message_count"). Group("combined_date"). |