From d9c18fe9de6a3c4bf5d3be54bea34551fd043cfa Mon Sep 17 00:00:00 2001 From: jlord Date: Thu, 8 Aug 2013 09:04:04 -0700 Subject: [PATCH] fix getmatches string bug --- js/sheetsee.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/sheetsee.js b/js/sheetsee.js index 08ef265..a9d9f6f 100644 --- a/js/sheetsee.js +++ b/js/sheetsee.js @@ -163,7 +163,7 @@ function getMin(data, column){ function getMatches(data, filter, category) { var matches = [] data.forEach(function (element) { - var projectType = element[category].toLowerCase() + var projectType = element[category].toString().toLowerCase() if (projectType === filter.toLowerCase()) matches.push(element) }) return matches