Fix/case insensitive order search #2

Open
cq0622 wants to merge 2 commits from fix/case-insensitive-order-search into master
2 Commits
Author SHA1 Message Date
shawnandClaude Opus 5 e0972d80fa test: pin customer-name search to the name column
Runner Test / test (push) Successful in 16s
Runner Test / test (pull_request) Successful in 15s
Search "JOHN SMITH" instead of "JOHN" so the regression test only matches
through the customer name column ("john" alone also matched the email),
ensuring case-insensitive name matching is verified on its own.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HUfxyr6EcRi4EYSX1wLoRh
2026-09-11 15:05:31 +10:00
shawnandClaude Sonnet 5 94ebd0733a fix: make order search case-insensitive
Searching "JOHN" or "ord-1001" returned no orders because SQLite instr()
is case-sensitive. Compare lowercased values for order number, customer
name, and email. Adds API regression tests for both cases.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HUfxyr6EcRi4EYSX1wLoRh
2026-09-11 14:54:14 +10:00