diff options
author | Arthur Zamarin <arthurzam@gentoo.org> | 2023-03-08 22:01:01 +0200 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2023-03-08 22:01:01 +0200 |
commit | 2fc8709945c6b51f3ca46f0eaaf1e818051d4186 (patch) | |
tree | d895709f06c3a5f06035633929187b1ab79329b7 | |
parent | repository/mask: add support for subslot separation (diff) | |
download | soko-2fc8709945c6b51f3ca46f0eaaf1e818051d4186.tar.gz soko-2fc8709945c6b51f3ca46f0eaaf1e818051d4186.tar.bz2 soko-2fc8709945c6b51f3ca46f0eaaf1e818051d4186.zip |
about/status: sort by name the entries
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
-rw-r--r-- | pkg/app/handler/about/status.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/app/handler/about/status.go b/pkg/app/handler/about/status.go index adab4d6..3fcb91e 100644 --- a/pkg/app/handler/about/status.go +++ b/pkg/app/handler/about/status.go @@ -23,7 +23,7 @@ func Status(w http.ResponseWriter, r *http.Request) { ParseGlob("web/templates/about/status.tmpl")) var applicationData []*models.Application - database.DBCon.Model(&applicationData).Select() + database.DBCon.Model(&applicationData).Order("id").Select() templates.ExecuteTemplate(w, "status.tmpl", struct { Header models.Header |