Fix: read search query from both query param and form body

This commit is contained in:
2026-07-06 15:30:48 +02:00
parent e577d58dd9
commit aa1234d363
2 changed files with 7 additions and 4 deletions
@@ -22,7 +22,7 @@
{#if artist.alreadyTracked}
<button class="btn btn-warning btn-sm"
hx-delete="/api/artists/{artist.mbid}/from-search"
hx-vals='js:{{q: document.getElementById("search-input").value}}'
hx-include="#search-input"
hx-target="#search-results"
hx-swap="innerHTML">✓ Added</button>
{#else}