From ab16e524326cfe215dea015e5d79cb0bae5f2d50 Mon Sep 17 00:00:00 2001 From: Joey Schulze Date: Fri, 27 Aug 2010 19:29:36 +0200 Subject: [PATCH] Use converted value if colum uses a lookup table --- lib/rico/ricoLiveGrid.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/rico/ricoLiveGrid.js b/lib/rico/ricoLiveGrid.js index 7f96af9..61b0cac 100644 --- a/lib/rico/ricoLiveGrid.js +++ b/lib/rico/ricoLiveGrid.js @@ -790,6 +790,7 @@ Rico.LiveGridMethods.prototype = { if (c0.match(/(.*)<\/span>/i)) { c1=RegExp.leftContext; } + if (col._getdesc) c1 = col._getdesc(c1); opt=RicoUtil.addSelectOption(field,c0,c1 || RicoTranslate.getPhraseById("filterBlank")); if (col.filterType==Rico.TableColumn.USERFILTER && c0==v) opt.selected=true; } -- 2.20.1