diff --git a/assets/javascripts/reporting/filters.js b/assets/javascripts/reporting/filters.js index e6bcf3d26e..f6154c568e 100644 --- a/assets/javascripts/reporting/filters.js +++ b/assets/javascripts/reporting/filters.js @@ -302,6 +302,7 @@ Reporting.Filters = { } }); // if the current filter is inactive, hide dependent - otherwise recurisvely narrow dependent values + sources.push(currentDependent); // Add as last element dependents.splice(0, 1); // Delete first element if (selectBox.value == '<>') { Reporting.Filters.value_changed(currentDependent); @@ -312,7 +313,6 @@ Reporting.Filters = { }); } else { - sources.push(dependents.first()); // Add as last element Reporting.Filters.narrow_values(sources, dependents); } }