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:
@@ -1,5 +1,12 @@
|
||||
# Tech Changelog
|
||||
|
||||
## 2026-04-07 (Phase 73 - Search by Product, Plan 01)
|
||||
- `OrdersRepository::buildPaginateFilters()`: dodano EXISTS subquery na `order_items.original_name` do warunku search.
|
||||
- Alias `oi_s` dla unikniecia konfliktu z `oi_agg` w buildListSql.
|
||||
- Nowy parametr `:s6` z ta sama wartoscia `%search%`.
|
||||
- `resources/lang/pl.php`: placeholder filtra search zmieniony na "Szukaj (numer, klient, email, produkt)".
|
||||
- Brak zmian schematu bazy danych.
|
||||
|
||||
## 2026-04-07 (Phase 72 - Per Page Persistence, Plan 01)
|
||||
- `resources/views/components/table-list.php`:
|
||||
- Dodano klucz localStorage `perPageKey` (`tableList_[path]_[key]_per_page`).
|
||||
|
||||
Reference in New Issue
Block a user