feat(search-by-product): extend order search to include product names

Added EXISTS subquery on order_items.original_name to the search filter
in OrdersRepository::buildPaginateFilters(). Users can now find orders
by typing a product name in the search field. Updated search placeholder
to reflect the new capability.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-07 09:14:40 +02:00
parent 24df01cfde
commit aadf98bc80
8 changed files with 249 additions and 11 deletions

View File

@@ -5,19 +5,19 @@
See: .paul/PROJECT.md (updated 2026-04-07)
**Core value:** Sprzedawca moze obslugiwac zamowienia ze wszystkich kanalow sprzedazy i nadawac przesylki bez przelaczania sie miedzy platformami.
**Current focus:** Milestone v3.0 - Phase 72 complete, ready for next PLAN
**Current focus:** Milestone v3.0 - Phase 73 complete, ready for next PLAN
## Current Position
Milestone: v3.0 Mobile Responsive - In progress
Phase: 72 (Per Page Persistence) — Complete
Plan: 72-01 unified
Phase: 73 (Search by Product) — Complete
Plan: 73-01 unified
Status: Loop complete, ready for next PLAN
Last activity: 2026-04-07 — Unified .paul/phases/72-per-page-persistence/72-01-PLAN.md
Last activity: 2026-04-07 — Unified .paul/phases/73-search-by-product/73-01-PLAN.md
Progress:
- Milestone: [########..] ~75%
- Phase 72: [##########] 100%
- Milestone: [########..] ~76%
- Phase 73: [##########] 100%
## Loop Position
@@ -30,11 +30,11 @@ PLAN --> APPLY --> UNIFY
## Session Continuity
Last session: 2026-04-07
Stopped at: Plan 72-01 unified
Stopped at: Plan 73-01 unified
Next action: Run /paul:plan for the next prioritized phase
Resume file: .paul/phases/72-per-page-persistence/72-01-SUMMARY.md
Resume file: .paul/phases/73-search-by-product/73-01-SUMMARY.md
## Git State
Last commit: 6d0905d
Last commit: 24df01c
Branch: main