GET /image/favorites had no ORDER BY, so SQLite returned rows in index order (by path). This orders by id DESC so the app's Favorites view (FileViewer #73) shows what was just added on top. Adds a DAO test (newest first, per user). Clippy is clean.
`GET /image/favorites` had no `ORDER BY`, so SQLite returned rows in index order (by path). This orders by `id DESC` so the app's Favorites view (FileViewer #73) shows what was just added on top. Adds a DAO test (newest first, per user). Clippy is clean.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
GET /image/favorites had no ORDER BY, so SQLite returned rows in index
order (by path). Order by id descending so the app's Favorites view
(FileViewer #73) shows what was just added on top.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
cameron
merged commit 27e5b78ffc into master2026-11-02 14:34:54 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
GET /image/favoriteshad noORDER BY, so SQLite returned rows in index order (by path). This orders byid DESCso the app's Favorites view (FileViewer #73) shows what was just added on top. Adds a DAO test (newest first, per user). Clippy is clean.🤖 Generated with Claude Code