From 3e60f8364c4642e3ed8d748f4d501203018c0ce1 Mon Sep 17 00:00:00 2001 From: mfogliatto Date: Tue, 30 Jul 2013 10:44:43 -0300 Subject: [PATCH] Update jquery_pivot.js Changed query in JQuery selector to complete suppport for Select2, as it fails when applying filters and using Select2. --- jquery_pivot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jquery_pivot.js b/jquery_pivot.js index c08f12a..70ffeb7 100644 --- a/jquery_pivot.js +++ b/jquery_pivot.js @@ -205,7 +205,7 @@ var methods = { update_filtered_rows : function(){ var restrictions = {}, field; - $('.filter').each(function(index){ + $('select.filter').each(function(index){ field = pivot.fields().get($(this).attr('data-field')); if ($(this).val() !== null && $(this).val()[0] !== ''){