mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-16 18:31:26 +01:00
Et2TreeDropdownCategory: Fix missing sort order
This commit is contained in:
parent
b5179cac22
commit
83732e75d4
@ -517,7 +517,7 @@ class Tree extends Etemplate\Widget
|
||||
|
||||
protected static function processCategory($cat_id, &$options, &$categories, $globals, &$cat_id_list)
|
||||
{
|
||||
foreach((array)$categories->return_array($cat_id ? 'subs' : 'mains', 0, false, '', 'ASC', '', $globals, $cat_id) as $cat)
|
||||
foreach((array)$categories->return_array($cat_id ? 'subs' : 'mains', 0, false, '', 'ASC', 'name', $globals, $cat_id) as $cat)
|
||||
{
|
||||
$s = stripslashes($cat['name']);
|
||||
|
||||
@ -551,4 +551,9 @@ class Tree extends Etemplate\Widget
|
||||
$options[] = $category;
|
||||
}
|
||||
}
|
||||
|
||||
public static function ajaxSearch($search, $options)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user