Skip to content

Commit

Permalink
Fix search suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
benpate committed Jan 1, 2025
1 parent 01c024f commit a921aa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/builder_common.go
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,7 @@ func (w Common) FeaturedSearchTags() *QueryBuilder[model.SearchTag] {
func (w Common) AllowedSearchTags() *QueryBuilder[model.SearchTag] {

query := builder.NewBuilder().
String("name", builder.WithAlias("q"), builder.WithDefaultOpBeginsWith())
String("q", builder.WithAlias("name"), builder.WithDefaultOpBeginsWith())

criteria := exp.And(
query.Evaluate(w._request.URL.Query()),
Expand Down

0 comments on commit a921aa1

Please sign in to comment.