From a40de3a8c6571a2835e59113233a595be59bc6d5 Mon Sep 17 00:00:00 2001 From: pschuermann <pirmin.schuermann@gmail.com> Date: Sat, 20 Jul 2019 02:57:19 +1200 Subject: [PATCH] Convert test-build to string to ensure it works with numbers (#1008) - When the test-build is a number, the toUppercase will fail otherwise. - People will use teamcity/jenkins build IDs for test-build --- dashboard/js/dashboard.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dashboard/js/dashboard.js b/dashboard/js/dashboard.js index 325fe18d25..91f514a8ae 100644 --- a/dashboard/js/dashboard.js +++ b/dashboard/js/dashboard.js @@ -182,7 +182,7 @@ function searchTestsList() { $(".list-group-item").each(function(){ $(this).hide(); const currentKeyword = $(this).text().toUpperCase() + $(this).data("browser").toUpperCase() + - $(this).data("platform").toUpperCase() + $(this).data("test-build").toUpperCase() + + $(this).data("platform").toUpperCase() + $(this).data("test-build").toString().toUpperCase() + $(this).data("test-status").toUpperCase() + $(this).data("proxy-name").toUpperCase() + $(this).data("time-zone").toUpperCase(); let allTokensFound = true;