From 1bfa02f0ed093a2591a71a8cc6603dc62b05fe14 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 30 Jan 2017 09:59:19 +0100 Subject: [PATCH] partial revert of 768b6ae, as filter, filter2 and cat get lost when changing a column filter --- api/js/etemplate/et2_extension_nextmatch.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/api/js/etemplate/et2_extension_nextmatch.js b/api/js/etemplate/et2_extension_nextmatch.js index 948e8ff658..43dd030e40 100644 --- a/api/js/etemplate/et2_extension_nextmatch.js +++ b/api/js/etemplate/et2_extension_nextmatch.js @@ -2715,6 +2715,12 @@ var et2_nextmatch_header_bar = (function(){ "use strict"; return et2_DOMWidget.e if (this.nextmatch.options.settings[name+"_onchange"]) { + // Make sure to get the new value for filtering + input.change(this.nextmatch, function(event) { + var set = {}; + set[name] = select.getValue(); + event.data.applyFilters(set); + }); // Get the onchange function string var onchange = this.nextmatch.options.settings[name+"_onchange"];