diff --git a/host_templates.php b/host_templates.php
index 927c186ba4..5f48edd6f2 100644
--- a/host_templates.php
+++ b/host_templates.php
@@ -685,13 +685,7 @@ function template() {
+
@@ -795,7 +799,7 @@ function applyFilter() {
strURL += '&filter='+$('#filter').val();
strURL += '&class='+$('#class').val();
strURL += '&rows='+$('#rows').val();
- strURL += '&graph_templates='+$('#graph_templates').val();
+ strURL += '&graph_template='+$('#graph_template').val();
strURL += '&has_hosts='+$('#has_hosts').is(':checked');
loadPageNoHeader(strURL);
}
@@ -808,7 +812,7 @@ function clearFilter() {
}
$(function() {
- $('#graph_templates, #class, #rows').change(function() {
+ $('#graph_template, #class, #rows').change(function() {
applyFilter();
});