mirror of https://github.com/Damillora/Yuriko.git
Use default sort by criterias for now
This commit is contained in:
parent
c3cb6280a9
commit
d0b93e28ad
|
@ -20,7 +20,6 @@ func SearchArticles(q string, page int) (SearchResult, error) {
|
||||||
searchParameters := &api.SearchCollectionParams{
|
searchParameters := &api.SearchCollectionParams{
|
||||||
Q: q,
|
Q: q,
|
||||||
QueryBy: []string{"title"},
|
QueryBy: []string{"title"},
|
||||||
SortBy: &([]string{"published_at:desc"}),
|
|
||||||
Page: &page,
|
Page: &page,
|
||||||
PerPage: &perPage,
|
PerPage: &perPage,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue