BUG: Search is case-sensitive for quote authors, book titles/subtitles and YouTube tags/descriptions
Author: Pratik-y-SDECreated Sep 29, 2026Updated Sep 29, 2026
Labelsbug
Describe the bug
The search endpoints lowercase the query but compare it against fields that are not lowercased, so some matches are missed.
Affected:
- public/quotes: author
- public/books: volumeInfo.title, volumeInfo.subtitle
- public/youtube: tags, description
I'd like to fix this myself and will open a PR.
To Reproduce
GET /api/v1/public/quotes?query=dickens
Actual: {"totalItems":0,"data":[]} Expected: 7 quotes by Charles Dickens (the author "Charles Dickens" exists in the data, but the lowercase query never matches it).
Expected behavior
Search should match regardless of letter case.
Screenshots
No response
OS
windows
OS Version
No response
Client
curl
Additional context or Information
No response
Source: hiteshchoudhary/apihub