mirror of
https://github.com/Damillora/Yuriko.git
synced 2024-11-22 01:37:31 +00:00
Add search fields
This commit is contained in:
parent
d0b93e28ad
commit
c7ff45976f
@ -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,
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user