ddd
This commit is contained in:
1 parent
d72ef520cd
commit
b96e1e19df
3 files changed
+90
-1
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user