Merge branch 'master' into dev
gitea/salix/dev This commit looks good
Details
gitea/salix/dev This commit looks good
Details
This commit is contained in:
commit
05b23127b4
|
@ -129,12 +129,12 @@ module.exports = function(Self) {
|
|||
}
|
||||
}
|
||||
|
||||
if (showField) {
|
||||
if (showField && recordSet && recordSet[showField]) {
|
||||
val = recordSet[showField];
|
||||
break;
|
||||
}
|
||||
|
||||
val = recordSet && recordSet.id; // FIXME preparar todos los modelos con campo name
|
||||
val = recordSet && recordSet.id || val; // FIXME preparar todos los modelos con campo name
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue