mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-05-07 03:29:19 +02:00
- repertoire-index.php: add $colHasMatches per-column guard. Entries in a column are only faded when that column has at least one matched entry in the current result set. When a dimension has no matched entries (e.g. no thesis has orientation_id set yet), the entire column stays fully interactive — all values remain clickable. This fixes: empty columns, forced single-select, cascade fading. - Database.php: revert allAp/allOr/allFi to full lookup-table queries so all known values are always shown (not just ones linked to theses). - common.css: body is now a flex column; main gets flex:1 + min-height:0; header-search-wrap gets flex-shrink:0; duplicate html/body blocks merged. - public.css: removed redundant top-level main block; home-main gets min-height:0. - repertoire.css: search-main gets min-height:0 for proper flex scroll.
1.0 KiB
1.0 KiB
TODO
Répertoire page fixes
- Fix AP and orientation columns returning empty results when clicked
- Fix multi-select being blocked (only one entry selectable at a time)
- Fix all other columns becoming faded when AP/OR filter is selected
- Always show all lookup-table values (ap/or/fi); only fade based on cross-dimension matched data when the column has at least one matched entry (
$colHasMatchesguard) - Make
mainthe scrollable element instead of bodycommon.css: body is nowdisplay:flex; flex-direction:column,maingetsflex:1; min-height:0public.css: removed redundantmainblock,.home-mainkeeps itsoverflow-y:autorepertoire.css:.search-maingetsmin-height:0for proper flex scroll containmentcommon.css:.header-search-wrapgetsflex-shrink:0
Database::getRepertoireFilterData:allAp,allOr,allFinow sourced from actual published thesis joins (not bare lookup tables), matching the pattern used by years and keywords