From d804bb07f1a684297d6b0d480e2a017537657071 Mon Sep 17 00:00:00 2001 From: Leonhard Brunner Date: Tue, 24 Aug 2021 17:06:21 +0200 Subject: [PATCH] ATLDEV-327 Make searchbar search for teams --- src/main/resources/user_information.vm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/user_information.vm b/src/main/resources/user_information.vm index 3b9fb14..fb4c245 100644 --- a/src/main/resources/user_information.vm +++ b/src/main/resources/user_information.vm @@ -36,7 +36,7 @@ // Loop through all table rows, and hide those who don't match the search query for (i = 0; i < tr.length; i++) { td = tr[i].getElementsByTagName("td")[id]; - tdTeam = tr[i].getElementsByTagName("td")[2]; + tdTeam = tr[i].getElementsByTagName("td")[1]; if (td || tdTeam) { if (td.innerHTML.toUpperCase().indexOf(filter) > -1 || tdTeam.innerHTML.toUpperCase().indexOf(filter) > -1) { tr[i].style.display = "";