Fix missing types from admin queue and history filter

This commit is contained in:
nathangray 2019-04-10 14:13:14 -06:00
parent 0453a43194
commit 6f59d825a5

View File

@ -577,7 +577,9 @@ abstract class admin_cmd
{
admin_cmd::_instanciate_sql();
$labels = admin_cmd::$sql->query_list('cmd_type');
// Need a new one to avoid column name modification
$sql = new Api\Storage\Base('admin','egw_admin_queue',null);
$labels = $sql->query_list('cmd_type');
// for admin app we also add all available cmd objects
foreach(scandir(__DIR__) as $file)
@ -597,6 +599,11 @@ abstract class admin_cmd
{
$label = $class::name();
}
elseif (class_exists('EGroupware\\' . $class))
{
$class = 'EGroupware\\' . $class;
$label = $class::name();
}
}
// sort them alphabetic