AndyB
Well-known member
Please sort the add-on names in the User Group Permissions.
Example:
Admin CP -> Users -> User Groups -> Administrators
Add-on names are in random order and that makes it difficult to find the add-on you're looking for:
By adding ", addon_id" to the following query:
library/XenForo/Model/Permission.php
all add-ons would be sorted by the add-on name.
Example:
Admin CP -> Users -> User Groups -> Administrators
Add-on names are in random order and that makes it difficult to find the add-on you're looking for:
By adding ", addon_id" to the following query:
library/XenForo/Model/Permission.php
PHP:
/**
* Gets all permission interface groups in order.
*
* @return array Format: [interface group id] => interface group info
*/
public function getAllPermissionInterfaceGroups()
{
return $this->fetchAllKeyed('
SELECT *
FROM xf_permission_interface_group
ORDER BY display_order, addon_id
', 'interface_group_id');
}
all add-ons would be sorted by the add-on name.
Last edited:
Upvote
4