This commit is contained in:
@@ -520,12 +520,12 @@ function buildRecords(listData, columndefinitions, filters) {
|
||||
break;
|
||||
case 10: //enum
|
||||
//TODO: Need enum translator
|
||||
//AuthorizationRoles.128
|
||||
//window.$gz.local.enumLocalized(enumType, enumValue)
|
||||
//(in locale) check if have that type already featched, if not fetches the whole list and caches it locally
|
||||
//also a method to return the list of enumerated types in ID order with localized names
|
||||
//window.$gz.local.enumList(enumType) - returns a list usable on edit forms
|
||||
/* enums: {
|
||||
//AuthorizationRoles.128
|
||||
//window.$gz.local.enumLocalized(enumType, enumValue)
|
||||
//(in locale) check if have that type already featched, if not fetches the whole list and caches it locally
|
||||
//also a method to return the list of enumerated types in ID order with localized names
|
||||
//window.$gz.local.enumList(enumType) - returns a list usable on edit forms
|
||||
/* enums: {
|
||||
AuthorizationRoles0:"No role",
|
||||
AuthorizationRoles1:"Business admin limited"
|
||||
etc
|
||||
@@ -536,7 +536,7 @@ function buildRecords(listData, columndefinitions, filters) {
|
||||
This way entirely bypasses locale stuff
|
||||
//big object so maybe it's own thing, not part of locale at all or locale fronts for it??
|
||||
*/
|
||||
window.$gz.enums.getEnumList(columndefinitions[iColumn].et);
|
||||
window.$gz.enums.getEnumList(columndefinitions[iColumn].et);
|
||||
display = columndefinitions[iColumn].et + "." + display;
|
||||
break;
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user