diff --git a/flask_appbuilder/static/appbuilder/js/ab_filters.js b/flask_appbuilder/static/appbuilder/js/ab_filters.js index 600038103d..d264e4f266 100644 --- a/flask_appbuilder/static/appbuilder/js/ab_filters.js +++ b/flask_appbuilder/static/appbuilder/js/ab_filters.js @@ -139,7 +139,7 @@ var AdminFilters = function(element, labels, form, filters, active_filters) { // ---------------------------------------------------------- function changeOperation(e, $el, name) { $in = $el.find('.filter_val'); - $in.attr('name','_flt_' + e.value + '_' + name); + $in.attr('name','_flt_' + $(e.target).val() + '_' + name); } $('a.filter').on('click', function() {