Skip to content

Commit

Permalink
Search: Fix title search null pointer (#23705)
Browse files Browse the repository at this point in the history
  • Loading branch information
sakjur authored and peterholmberg committed Apr 29, 2020
1 parent 207e840 commit b5cd1f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/services/sqlstore/dashboard.go
Expand Up @@ -247,7 +247,7 @@ func findDashboards(query *search.FindPersistedDashboardsQuery) ([]DashboardSear

if len(query.Title) > 0 {
sb.WithTitle(query.Title)
sb2filters = append(sb2filters, searchstore.TitleFilter{Title: query.Title})
sb2filters = append(sb2filters, searchstore.TitleFilter{Dialect: dialect, Title: query.Title})
}

if len(query.Type) > 0 {
Expand Down

0 comments on commit b5cd1f4

Please sign in to comment.