Fix SQL parameter count in category filter query

The query uses base_where twice (for latest_any and latest_stable CTEs)
but params were only passed once, causing sqlite3.ProgrammingError when
filtering by category.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
This commit is contained in:
rob
2026-01-01 06:58:30 -04:00
co-authored by Claude Opus 4.5
parent 0a1c03ce09
commit 9699717443
+1 -1
View File
@@ -456,7 +456,7 @@ def create_app() -> Flask:
ORDER BY {order_sql}
LIMIT ? OFFSET ?
""",
params + [per_page, offset],
params + params + [per_page, offset], # params twice for both CTEs
)
data = []