This commit is contained in:
didier committed 2026-10-01 13:59:36 -04:00
1 parent d72ef520cd
commit b96e1e19df
3 files changed
+90 -1

No files matched your search

+1 -1
View File
@@ -216,7 +216,7 @@ func (s *sqliteStore) listAll(ctx context.Context) ([]flashcardSummary, error) {
WHERE f.version = (SELECT MAX(f2.version) FROM flashcard f2 WHERE f2.public_id = f.public_id)
AND f.delete_timestamp IS NULL
AND f.public_id != 0
ORDER BY f.public_id`,
ORDER BY f.created DESC`,
)
if err != nil {
return nil, fmt.Errorf("list: %w", err)