mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-06-25 16:19:19 +02:00
Fix language-search fragment
- mots-clé and language where sharing the same q variable for the input value; they now have unique variables. The admin language-search-fragment was missing App::boot() which the tag-search fragment had. This caused the language suggestion dropdown to not return results in Firefox. Both fragments now follow the same bootstrap pattern. Rewrote language-search-fragment.php to use the same clean pattern as tag-search-fragment.php: ->searchLanguages(), simple exact match check, no predefined exclusion list. Both fragments now share identical structure. fix: exclude main languages (français, anglais, néerlandais) from language-search suggestions
This commit is contained in:
9
TODO.md
9
TODO.md
@@ -1,7 +1,6 @@
|
||||
# TODO
|
||||
|
||||
- [x] Remove margin/padding from .admin-main--toc
|
||||
- [x] .admin-main--toc gap: var(--space-xs), sticky top: var(--space-xs)
|
||||
- [x] Reduce .admin-body main padding to --space-s / --space-m / --space-xl
|
||||
- [x] Add padding-top: var(--space-m) to article
|
||||
- [x] Language creation: verified getOrCreateLanguage still works; dedup runs before display
|
||||
- [x] Fix language-search-fragment: use searchLanguages() like tag fragment, remove broken predefined exclusion logic
|
||||
- [x] Both fragments now follow identical patterns
|
||||
- [x] Fix "Créer" button not appearing on language search: both language and tag inputs used name="q" in the same form, causing HTMX to submit the wrong (empty) value — renamed to unique names (language_search_q / tag_search_q)
|
||||
- [x] Exclude Français, Anglais, Néerlandais from language-search suggestions (handled by the checkbox list)
|
||||
|
||||
Reference in New Issue
Block a user