Skip to content

Commit dcfefdc

Browse files
authored
Do not filter by type
1 parent 3470fe0 commit dcfefdc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/hexdocs/services/hexdocs.gleam

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,8 @@ fn new_search_query_params(
157157
) {
158158
list.new()
159159
|> list.key_set("q", query)
160-
|> list.key_set("query_by", "title,doc,type")
161-
|> list.key_set("query_by_weights", "3,1,1")
160+
|> list.key_set("query_by", "title,doc")
161+
|> list.key_set("query_by_weights", "3,1")
162162
|> list.key_set("page", int.to_string(page))
163163
// We multiply per 2 because we group results
164164
|> list.key_set("per_page", int.to_string(config.per_page() * 2))

0 commit comments

Comments
 (0)