Search: Fixed search issue introduced in recent PR (#16652)

This commit is contained in:
Torkel Ödegaard
2019-04-17 19:07:13 +02:00
committed by GitHub
parent e4eb0817e4
commit 36d64fecea
2 changed files with 16 additions and 1 deletions
+1 -1
View File
@@ -149,7 +149,7 @@ func (sb *SearchBuilder) buildTagQuery() {
sb.buildSearchWhereClause()
// this ends the inner select (tag filtered part)
sb.sql.WriteString(`GROUP BY dashboard.id HAVING COUNT(dashboard.id) >= ? `)
sb.sql.WriteString(` GROUP BY dashboard.id HAVING COUNT(dashboard.id) >= ? `)
sb.params = append(sb.params, len(sb.tags))
}