fix: remove redundant query= param from filter-specific metadata links on TFE page

Clicking orientation, AP program, finality, year, format, or keyword links
on the TFE page was passing both a dedicated filter param AND a query=
param. The query= text search doesn't look at the filter columns
(orientation, ap_program, etc.), so the AND combination yielded zero
results when the filter value didn't appear in title/authors/etc fields.

Also fix the language link: it was passing language as query= which
searches only title/authors/etc, not the languages column. Now uses
the dedicated language= param (DB layer already supported it, and
collectSearchParams now collects it).
This commit is contained in:
Pontoporeia
2026-07-10 17:20:21 +02:00
parent 14c21586c5
commit 6e1d54511d
6 changed files with 21 additions and 17 deletions
+2
View File
@@ -2,3 +2,5 @@
- [x] Fix relinked file not appearing in FilePond UI: switch to ID-based input lookup
- [x] Fix student name popover overflowing below viewport: clamp position so popover stays within screen bounds
- [x] Fix orientation (and other filter) metadata links on TFE page leading to empty search: remove redundant `query=` param
- [x] Fix language metadata link using wrong `query=` param instead of dedicated `language=` filter