Edit comments, change field type

Signed-off-by: Vartan Benohanian <vartanbeno@gmail.com>
This commit is contained in:
Vartan Benohanian
2020-08-02 15:33:06 -04:00
parent 5221f82daa
commit 730da4685d
5 changed files with 13 additions and 13 deletions
+1
View File
@@ -92,6 +92,7 @@ func SortByActivity(opts url.Values) {
// SortByNumberOfComments sets the sort option to return the results with the highest
// number of comments first.
// This can be used when searching for posts within a subreddit.
func SortByNumberOfComments(opts url.Values) {
opts.Set("sort", "comments")
}