loggable not saving id fixed
gitea/salix/master This commit looks good
Details
gitea/salix/master This commit looks good
Details
This commit is contained in:
parent
4861b789f7
commit
b4f9b2fc3b
|
@ -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