From c1f041e9d8f6e309d75884cf1ae8536b7636c87b Mon Sep 17 00:00:00 2001 From: vilmibm Date: Thu, 23 Feb 2023 07:31:38 +0000 Subject: [PATCH] more determinism --- models/models.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/models/models.go b/models/models.go index 3ea3c2b..501a83e 100644 --- a/models/models.go +++ b/models/models.go @@ -100,7 +100,8 @@ func (s *TownSignup) RefreshNotes(db *sql.DB) error { stmt, err := db.Prepare(` SELECT created, author, content FROM notes - WHERE signupid = ?`) + WHERE signupid = ? + ORDER BY created ASC`) if err != nil { return err }