List favorites newest first #213

Merged
cameron merged 1 commits from fix/favorites-newest-first into master 2026-11-02 14:34:54 +00:00
Owner

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

`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)
cameron added 1 commit 2026-11-02 13:49:36 +00:00
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 master 2026-11-02 14:34:54 +00:00
cameron deleted branch fix/favorites-newest-first 2026-11-02 14:34:54 +00:00
Sign in to join this conversation.