Fix tag indexing
This commit is contained in:
parent
e0854aa001
commit
0c3385200e
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Reference in a new issue