fix: restore anime search functionality and server stability
CI / Test (Python 3.11) (push) Has been cancelled
CI / Test (Python 3.12) (push) Has been cancelled
CI / Lint (push) Has been cancelled
CI / Type Check (push) Has been cancelled
CI / Summary (push) Has been cancelled

- Fixed fatal ImportError in main.py that blocked code updates
- Guaranteed HTML fragments for search results via parameter and header detection
- Added hidden html field to search form for robust HTMX integration
- Validated fix with E2E API verification
This commit is contained in:
root
2026-03-24 14:10:05 +00:00
parent f99e739ff2
commit eb0c67348f
3 changed files with 13 additions and 48 deletions
+2 -1
View File
@@ -15,10 +15,11 @@
<h2>🎬 Rechercher un Anime</h2>
</div>
<div class="url-form">
<form hx-get="/api/anime/search?html=1"
<form hx-get="/api/anime/search"
hx-target="#animeSearchResults"
hx-indicator="#search-loading"
class="input-group">
<input type="hidden" name="html" value="1">
<input
type="text"
name="q"