Add search fields

This commit is contained in:
Damillora 2021-05-07 21:37:05 +07:00
parent d0b93e28ad
commit c7ff45976f
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ func SearchArticles(q string, page int) (SearchResult, error) {
perPage := 10
searchParameters := &api.SearchCollectionParams{
Q: q,
QueryBy: []string{"title"},
QueryBy: []string{"title","slug","primary_tag","excerpt","html"},
Page: &page,
PerPage: &perPage,
}