diff --git a/assets/javascripts/reporting/restore_query.js b/assets/javascripts/reporting/restore_query.js index f874715c5d..260e680216 100644 --- a/assets/javascripts/reporting/restore_query.js +++ b/assets/javascripts/reporting/restore_query.js @@ -3,7 +3,7 @@ Reporting.RestoreQuery = { restore_filters: function () { - var group_bys = $('filter_table').select("tr").select(function (row) { + $('filter_table').select("tr").select(function (row) { return $(row).getAttribute("data-selected") === "true"; }).each(function (row) { var field = row.className;