What's new in EzyPlatform 1.4.6?
This release adds an API for looking up Admin Roles by name across the Admin, Web, and Socket environments, fixes the sorting order for ID-ascending pagination classes, and updates Devtools to generate pagination code with the correct ordering.
-
Added API to retrieve Admin Role ID by name
AdminRoleServicenow providesgetRoleIdByName(...)to retrieve an Admin Role ID by its role name. If no matching role exists, the method returns0, making it easier for modules and plugins to look up roles without implementing additional queries. -
Extended Admin Role lookup across environmentsThe new Role lookup API is available across the Admin, Web, and Socket environments, providing a consistent way to retrieve Admin Role information across EzyPlatform modules.
-
Fixed ID-ascending pagination orderThe
IdAsc...PaginationParameterclasses have been corrected to useID_ASCinstead ofID_DESC. This fix applies to Admin Meta, Content Template, Data Meta, and User Meta, ensuring records are paginated in the intended ascending ID order. -
Updated Devtools pagination templatesDevtools templates have been updated so newly generated ID-ascending pagination classes use
ID_ASCby default, preventing generated code from incorrectly usingID_DESC.