From ca3536bf2567e0e64e7785cb109d47cbb0cb4f32 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Thu, 7 Feb 2013 15:46:36 +0000 Subject: [PATCH] If no column display settings from app or preferences, display all columns --- etemplate/js/et2_extension_nextmatch.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/etemplate/js/et2_extension_nextmatch.js b/etemplate/js/et2_extension_nextmatch.js index 7984f7d469..11e508f47d 100644 --- a/etemplate/js/et2_extension_nextmatch.js +++ b/etemplate/js/et2_extension_nextmatch.js @@ -335,6 +335,13 @@ var et2_nextmatch = et2_DOMWidget.extend([et2_IResizeable, et2_IInput], { } } + // If no column preference or default set, use all columns + if(typeof columnPreference =="string" && columnPreference.length == 0) + { + columnDisplay = {}; + negated = true; + } + var columnDisplay = typeof columnPreference === "string" ? et2_csvSplit(columnPreference,null,",") : columnPreference;