mirror of
https://github.com/Damillora/Yuriko.git
synced 2024-12-22 21:43:46 +00:00
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{
|
||||
Q: q,
|
||||
QueryBy: []string{"title"},
|
||||
SortBy: &([]string{"published_at:desc"}),
|
||||
Page: &page,
|
||||
PerPage: &perPage,
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user