api, frontend, db: add comment sorting
Closes https://gitlab.com/commento/commento/issues/215
This commit is contained in:
@@ -191,6 +191,7 @@ func commentListHandler(w http.ResponseWriter, r *http.Request) {
|
||||
"requireIdentification": d.RequireIdentification,
|
||||
"isFrozen": d.State == "frozen",
|
||||
"isModerator": isModerator,
|
||||
"defaultSortPolicy": d.DefaultSortPolicy,
|
||||
"attributes": p,
|
||||
"configuredOauths": map[string]bool{
|
||||
"commento": d.CommentoProvider,
|
||||
|
||||
Reference in New Issue
Block a user