Improve search quality, ORM efficiency, and filter consistency
This commit is contained in:
@ -101,6 +101,12 @@ docker compose exec web python manage.py createsuperuser
|
||||
- `tailwind` service runs watch mode for development (`npm run dev`).
|
||||
- nginx proxies web traffic and serves static/media volume mounts.
|
||||
|
||||
## Search Consistency Notes
|
||||
|
||||
- The server-rendered player search page (`/players/`) and read-only players API (`/api/players/`) use the same search form and ORM filter service.
|
||||
- Sorting/filter semantics are aligned across UI, HTMX partial refreshes, and API responses.
|
||||
- Statistical metric annotations are always computed for UI result tables, and only computed for API requests when metric-based sorting is requested.
|
||||
|
||||
## Docker Volumes and Persistence
|
||||
|
||||
`docker-compose.yml` uses named volumes:
|
||||
|
||||
Reference in New Issue
Block a user