We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e2b538 commit 573f353Copy full SHA for 573f353
interface/lib/classes/listform_actions.inc.php
@@ -87,6 +87,14 @@ function prepareDataRow($rec) {
87
$this->DataRowColor = ($this->DataRowColor == "#FFFFFF")?"#EEEEEE":"#FFFFFF";
88
$rec["bgcolor"] = $this->DataRowColor;
89
90
+ // substitute value for select fields
91
+ foreach($app->listform->listDef["item"] as $field) {
92
+ $key = $field["field"];
93
+ if($field['formtype'] == "SELECT") {
94
+ $rec[$key] = $field['value'][$rec[$key]];
95
+ }
96
97
+
98
// The variable "id" contains always the index variable
99
$rec["id"] = $rec[$this->idx_key];
100
0 commit comments