3
0

Add missing real-record-col

This commit is contained in:
Denis Arh
2019-08-22 21:06:24 +02:00
parent 5bfafd4adc
commit 9a428f05b4
+3 -1
View File
@@ -343,7 +343,9 @@ func (r record) LoadValues(fieldNames []string, IDs []uint64) (rvs types.RecordV
// Checks if field name is "real column", reformats it and returns
func isRealRecordCol(name string) (string, bool) {
switch name {
case "recordID":
case
"recordID",
"id":
return "id", true
case
"module_id",