From fc0b2d1e8ad6c33dbbdbe6d5d5b93b232742614a Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Mon, 25 Mar 2013 22:59:48 +0000 Subject: [PATCH] Look for cat_id options in parent(global) sel_options manager too --- etemplate/js/et2_extension_nextmatch_rowProvider.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/etemplate/js/et2_extension_nextmatch_rowProvider.js b/etemplate/js/et2_extension_nextmatch_rowProvider.js index c38ace15fa..21618e3d7e 100644 --- a/etemplate/js/et2_extension_nextmatch_rowProvider.js +++ b/etemplate/js/et2_extension_nextmatch_rowProvider.js @@ -470,6 +470,8 @@ var et2_nextmatch_rowProvider = Class.extend({ { // Nextmatch category filter should put them here var categories = _mgrs["sel_options"].getEntry('cat_id'); + // Or they are in the global - 1 level up + if(!categories) categories = _mgrs["sel_options"].parentMgr.getEntry('cat_id'); // If not using category (tracker, calendar list) look for sel_options in the rows if(!categories) categories = _mgrs["sel_options"].parentMgr.getEntry(category_location); if(!categories) categories = _mgrs["sel_options"].getEntry("${row}["+category_location + "]");