Split search into search.php; repertoire.php is index-only

This commit is contained in:
Pontoporeia
2026-04-07 15:01:30 +02:00
parent e96ec572be
commit 0c2276d5ad
7 changed files with 181 additions and 136 deletions

View File

@@ -1,6 +1,13 @@
# TODO
## Done
- [x] Split search logic into search.php
- [x] `public/search.php` — new page for text-query search results
- [x] `public/repertoire.php` — stripped to répertoire index only
- [x] `SearchController::handle()` split into `handleSearch()` + `handleRepertoire()`
- [x] Search bar (`header.php`, `search-bar.php`) now POSTs to `/search.php`
- [x] `tfe.php` `?query=` links updated to `/search.php`
- [x] Filter links (`?or[]=`, `?ap[]=`, `?fy[]=`, `?kw[]=`) stay on `repertoire.php`
- [x] TFE metadata values are hyperlinks to repertoire.php with correct filter/search params
- orientation → `or[]`, ap_program → `ap[]`, year → `fy[]`, keywords → `kw[]` (per keyword)
- languages, formats → `query=` (text search); jury members → `query=` (text search)