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
1 changed files with 0 additions and 1 deletions

View File

@ -20,7 +20,6 @@ func SearchArticles(q string, page int) (SearchResult, error) {
searchParameters := &api.SearchCollectionParams{
Q: q,
QueryBy: []string{"title"},
SortBy: &([]string{"published_at:desc"}),
Page: &page,
PerPage: &perPage,
}