Skip to content

Search playlists by name with ?q= on GET /api/playlists - #83

Merged
davior merged 1 commit into
mainfrom
claude/eager-cannon-rztj4b
Nov 25, 2026
Merged

davior merged 1 commit into
mainfrom
claude/eager-cannon-rztj4b

Conversation

@davior

@davior davior commented Nov 25, 2026

Copy link
Copy Markdown
Owner

GET /api/playlists takes ?q=. It keeps playlists whose name or description contains the text (case-insensitive), and total counts only those. The list and its count share one filter (services/playlists.filtered), so paging stays consistent. A blank q lists everything, as before.

Video Creator uses this to search playlists by name (GVC side: davior/gvc, branch claude/eager-cannon-rztj4b). GVC also filters the results itself, so either app can be deployed first.

  • Test: test_the_list_is_searched_by_name_and_description; the full backend suite passes (1654).
  • docs/playlists.md is updated.
  • No migration.

Generated by Claude Code

Video Creator finds a playlist among many by its name; the list and its total are
narrowed by the same filter, so paging stays consistent.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01V1geD24XQ6hENA83RCquFU
@davior
davior marked this pull request as ready for review November 25, 2026 08:08
@davior
davior merged commit eee582c into main Nov 25, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants