mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-08-10 15:21:22 +02:00
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:
@@ -770,7 +770,6 @@
|
||||
/* ── Collapsible filter controls ─────────────────────────────────── */
|
||||
.search-filters-toggle {
|
||||
flex-shrink: 0;
|
||||
border-bottom: 1px solid var(--border-secondary);
|
||||
}
|
||||
|
||||
.search-filters-summary {
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
.tfe-content-row {
|
||||
display: grid;
|
||||
grid-template-columns: 49vw 1fr;
|
||||
/* gap: var(--space-xl); */
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
min-height: 0;
|
||||
@@ -24,6 +23,8 @@
|
||||
overflow-y: auto;
|
||||
min-width: 0;
|
||||
padding: var(--space-xl) var(--space-m) var(--space-xl) var(--space-m);
|
||||
padding-right: 0.5ch;
|
||||
gap: 1ch;
|
||||
}
|
||||
|
||||
.tfe-right-column {
|
||||
@@ -34,13 +35,6 @@
|
||||
padding: var(--space-xl) var(--space-m) var(--space-xl) var(--space-m);
|
||||
}
|
||||
|
||||
/* Left column: stacks author, title, meta, synopsis — scrolls independently */
|
||||
.tfe-left-column {
|
||||
gap: var(--space-m);
|
||||
/* to space the edge of the text and the scrollbar */
|
||||
padding-right: 0.5ch;
|
||||
}
|
||||
|
||||
/* Files container inside right column — flex kept for PDF expand-to-fill behavior */
|
||||
.tfe-files {
|
||||
display: grid;
|
||||
@@ -555,6 +549,7 @@ body.pdf-viewer-open {
|
||||
.tfe-left-column,
|
||||
.tfe-right-column {
|
||||
overflow-y: visible;
|
||||
padding: var(--space-3xs);
|
||||
}
|
||||
|
||||
.tfe-title {
|
||||
@@ -569,6 +564,11 @@ body.pdf-viewer-open {
|
||||
height: auto;
|
||||
min-height: unset;
|
||||
background: color-mix(in srgb, var(--accent-secondary) 92%, #000 8%);
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
}
|
||||
.pdf-toolbar {
|
||||
border-radius: 0 0 var(--radius) var(--radius);
|
||||
}
|
||||
|
||||
.tfe-file-iframe {
|
||||
|
||||
Reference in New Issue
Block a user