Skip to content

Commit

Permalink
doc: fix known issues javascript
Browse files Browse the repository at this point in the history
The issue related to handling more complex release names
seems to be caused by HTML class names being turned to
all lowercase in rts->html conversion process.
This update in mjs will convert the filter values
to lowercase before matching with class names.

Signed-off-by: Bartosz Gentkowski <[email protected]>
  • Loading branch information
b-gent authored and gmarull committed Jan 21, 2025
1 parent 42ebbf2 commit 1e301e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/_extensions/static/page_filter.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ function displayOption(option, dropdown) {

document.querySelectorAll(".hideable").forEach(e => e.hidden = false);
var filters = all_dropdowns
.map(dp => dp.options[dp.selectedIndex].value)
.map(dp => dp.options[dp.selectedIndex].value.toLowerCase())
.filter(val => val !== "all");

if (filters.length == 0) return;
Expand Down

0 comments on commit 1e301e4

Please sign in to comment.