Support record sorting by ID
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user