Skip to content

Commit

Permalink
Update mapping filters
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenrouwhof committed Sep 24, 2024
1 parent d6e5109 commit c40fa7b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/javascripts/filtering.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,10 @@ function filterTable() {
var tr = table ? table.getElementsByTagName("tr") : [];

for (var i = 1; i < tr.length; i++) { // Skip header row
var td = tr[i].getElementsByTagName("td")[0]; // Maatregelen column (td[0])
var roles = tr[i].getElementsByTagName("td")[1]; // Rollen column (td[1])
var lc = tr[i].getElementsByTagName("td")[2]; // Levenscyclus column (td[2])
var onderwerpen = tr[i].getElementsByTagName("td")[3]; // Onderwerpen column (td[3])
var td = tr[i].getElementsByTagName("td")[1]; // Maatregelen column (td[0])
var roles = tr[i].getElementsByTagName("td")[2]; // Rollen column (td[1])
var lc = tr[i].getElementsByTagName("td")[3]; // Levenscyclus column (td[2])
var onderwerpen = tr[i].getElementsByTagName("td")[4]; // Onderwerpen column (td[3])

if (td && roles && lc && onderwerpen) {
var txtValue = td.textContent || td.innerText; // Maatregelen value
Expand Down

0 comments on commit c40fa7b

Please sign in to comment.