diff --git a/host_templates.php b/host_templates.php
index 855852639..2af722df2 100644
--- a/host_templates.php
+++ b/host_templates.php
@@ -689,13 +689,7 @@ function template() {
+
@@ -799,7 +803,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);
}
@@ -810,7 +814,7 @@ function clearFilter() {
}
$(function() {
- $('#graph_templates, #class, #rows').change(function() {
+ $('#graph_template, #class, #rows').change(function() {
applyFilter();
});