Merge branch 'master' into dev
gitea/salix/dev This commit looks good Details

This commit is contained in:
Gerard 2019-04-05 08:25:21 +02:00
commit 05b23127b4
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}
}