Use default sort by criterias for now

This commit is contained in:
Damillora 2021-05-07 19:55:37 +07:00
parent c3cb6280a9
commit d0b93e28ad

View File

@ -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,
} }