photoprism/internal
Michael Mayer 0cecb5287f Search: Match folder album_path case-insensitively #5724
Folder search lowercases the query term, but album_path is VARBINARY and
compared byte-exact (case-sensitive) on MySQL/MariaDB, so a lowercased
term no longer matched uppercase folder paths. A parent folder still
appeared via its case-insensitive title, while child folders - matchable
only by path - dropped out of the results.

Add a dialect-aware PathLike helper: MySQL converts album_path to a
case-insensitive collation for the LIKE, SQLite and other dialects fall
back to a plain LIKE (SQLite is already ASCII case-insensitive). Only the
folder search filter is affected; byte-exact album_path identity lookups
are unchanged, so emoji and case-distinct folders stay distinct.
2026-07-16 16:53:28 +00:00
..
ai Vision: Add OpenAI service_tier via Service.Tier config #5725 2026-07-16 10:37:15 +00:00
api Tests: Improve isolation and add fixes #5263 2026-07-12 05:47:21 +02:00
auth Tests: Improve isolation and add fixes #5263 2026-07-12 05:47:21 +02:00
commands Tests: Improve isolation and add fixes #5263 2026-07-12 05:47:21 +02:00
config Tests: Refine isolated test-folder cleanup and logging #5263 2026-07-12 06:31:52 +00:00
entity Search: Match folder album_path case-insensitively #5724 2026-07-16 16:53:28 +00:00
event Links: Use canonical trailing-slash form for website URLs 2026-06-24 17:20:30 +02:00
ffmpeg Links: Use canonical trailing-slash form for website URLs 2026-06-24 17:20:30 +02:00
form Tests: Add unit tests for recent metadata, auth, and config changes #5697 2026-06-26 14:12:59 +02:00
mcp Links: Use canonical trailing-slash form for website URLs 2026-06-24 17:20:30 +02:00
meta Tests: Improve isolation and add fixes #5263 2026-07-12 05:47:21 +02:00
mutex Links: Use canonical trailing-slash form for website URLs 2026-06-24 17:20:30 +02:00
photoprism Tests: Improve isolation and add fixes #5263 2026-07-12 05:47:21 +02:00
raw Convert: Gate RAW render rejection by file format #5673 2026-06-30 14:04:59 +00:00
server Tests: Improve isolation and add fixes #5263 2026-07-12 05:47:21 +02:00
service Tests: Improve isolation and add fixes #5263 2026-07-12 05:47:21 +02:00
thumb Tests: Improve isolation and add fixes #5263 2026-07-12 05:47:21 +02:00
workers Tests: Improve isolation and add fixes #5263 2026-07-12 05:47:21 +02:00
AGENTS.md Docs: Split AGENTS guides into a hierarchical structure 2026-04-09 19:28:14 +02:00