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").
|
ColumnExpr("unnest(tags) as tag").
|
||||||
Where("active = true").
|
Where("active = true").
|
||||||
Group("tag").
|
Group("tag").
|
||||||
Order("count(*) DESC").
|
OrderExpr("count(*) DESC").
|
||||||
Limit(tagsDisplay).
|
Limit(tagsDisplay).
|
||||||
Select(&tags)
|
Select(&tags)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Reference in a new issue