Fix tag indexing

This commit is contained in:
Las Zenow 2017-05-18 23:48:43 +00:00
parent e0854aa001
commit 0c3385200e

View file

@ -33,7 +33,7 @@ func (db *pgDB) updateTags() {
ColumnExpr("unnest(tags) as tag").
Where("active = true").
Group("tag").
Order("count(*) DESC").
OrderExpr("count(*) DESC").
Limit(tagsDisplay).
Select(&tags)
if err != nil {