From 088bf40ce1803f40594c5b36a2d635f7de78ca20 Mon Sep 17 00:00:00 2001 From: Mcat12 Date: Fri, 23 Dec 2016 11:02:43 -0500 Subject: [PATCH] Convert Adlist search string to lowercase Fixes https://www.reddit.com/r/pihole/comments/5jx91b/query_adlists_search_partial_match_feature_request/ --- js/pihole/queryads.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/pihole/queryads.js b/js/pihole/queryads.js index 86822e51..e8b91be4 100644 --- a/js/pihole/queryads.js +++ b/js/pihole/queryads.js @@ -16,7 +16,7 @@ function eventsource() { } var host = window.location.host; - var source = new EventSource("http://"+host+"/admin/php/queryads.php?domain="+domain.val()+"&"+exact); + var source = new EventSource("http://"+host+"/admin/php/queryads.php?domain="+domain.val().toLowerCase()+"&"+exact); // Reset and show field ta.empty();