Fixed bug where feedgen library was reversing the order of feed items. Database returns notes in DESC order (newest first), but feedgen was displaying them oldest-first in the RSS XML. Added reversed() wrapper to maintain correct chronological order in the feed. Added regression test to verify feed order matches database order. Bug confirmed by testing: - Database: [Note 2, Note 1, Note 0] (newest first) - Old feed: [Note 0, Note 1, Note 2] (oldest first) ❌ - New feed: [Note 2, Note 1, Note 0] (newest first) ✅ 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
7.0 KiB
7.0 KiB