projects
/
misc
/
kostenrechnung
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
336dfb4
)
Use converted value if colum uses a lookup table
author
Joey Schulze
<joey@infodrom.org>
Fri, 27 Aug 2010 17:29:36 +0000
(19:29 +0200)
committer
Joey Schulze
<joey@infodrom.org>
Fri, 27 Aug 2010 17:29:36 +0000
(19:29 +0200)
lib/rico/ricoLiveGrid.js
patch
|
blob
|
history
diff --git
a/lib/rico/ricoLiveGrid.js
b/lib/rico/ricoLiveGrid.js
index
7f96af9
..
61b0cac
100644
(file)
--- a/
lib/rico/ricoLiveGrid.js
+++ b/
lib/rico/ricoLiveGrid.js
@@
-790,6
+790,7
@@
Rico.LiveGridMethods.prototype = {
if (c0.match(/<span\s+class=(['"]?)ricolookup\1>(.*)<\/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;
}