mirror of
https://github.com/Damillora/Yuriko.git
synced 2024-11-22 09: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
|
perPage := 10
|
||||||
searchParameters := &api.SearchCollectionParams{
|
searchParameters := &api.SearchCollectionParams{
|
||||||
Q: q,
|
Q: q,
|
||||||
QueryBy: []string{"title"},
|
QueryBy: []string{"title","slug","primary_tag","excerpt","html"},
|
||||||
Page: &page,
|
Page: &page,
|
||||||
PerPage: &perPage,
|
PerPage: &perPage,
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user