3
0

Support record sorting by ID

This commit is contained in:
Denis Arh
2019-08-16 18:02:54 +02:00
parent 751317d544
commit a0bbe01c24
+2 -1
View File
@@ -343,8 +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":
return "id", true
case
"id",
"module_id",
"owned_by",
"created_by",