api, frontend, db: add comment sorting
Closes https://gitlab.com/commento/commento/issues/215
This commit is contained in:
@@ -27,7 +27,8 @@ func domainGet(dmn string) (domain, error) {
|
||||
gitlabProvider,
|
||||
ssoProvider,
|
||||
ssoSecret,
|
||||
ssoUrl
|
||||
ssoUrl,
|
||||
defaultSortPolicy
|
||||
FROM domains
|
||||
WHERE domain = $1;
|
||||
`
|
||||
@@ -54,7 +55,8 @@ func domainGet(dmn string) (domain, error) {
|
||||
&d.GitlabProvider,
|
||||
&d.SsoProvider,
|
||||
&d.SsoSecret,
|
||||
&d.SsoUrl); err != nil {
|
||||
&d.SsoUrl,
|
||||
&d.DefaultSortPolicy); err != nil {
|
||||
return d, errorNoSuchDomain
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user