Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix implementation record filtering #4533

Merged
merged 1 commit into from Mar 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions source/javascripts/filter-list.js
Expand Up @@ -30,7 +30,7 @@ window.GOVUK.Modules = window.GOVUK.Modules || {};
// show/hide children
for (var j = 0; j < children.length; j++) {
var child = children[j]
var text = child.innerText.toLowerCase()
var text = child.textContent.toLowerCase()
this.showHide(text, searchTerm, child)
}
// show/hide title
Expand All @@ -40,7 +40,7 @@ window.GOVUK.Modules = window.GOVUK.Modules || {};
title.classList.remove('filter-list-hidden')
}
} else {
var text = current.innerText.toLowerCase()
var text = current.textContent.toLowerCase()
this.showHide(text, searchTerm, current)
}
}
Expand Down