mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-02 19:39:26 +01:00
Backport 32440 - Sort categories alphabetically in planner by category view
This commit is contained in:
parent
90723084fc
commit
57859c8bd2
@ -1845,7 +1845,7 @@ function open_edit(series)
|
||||
if (!is_array($cat2sort))
|
||||
{
|
||||
$cat2sort = array();
|
||||
foreach((array)$this->categories->return_array('all',0,false,'','','',true) as $data)
|
||||
foreach((array)$this->categories->return_sorted_array(0,false,'','','',true) as $data)
|
||||
{
|
||||
if (in_array($data['parent'], (array)$this->cat_id) || in_array($data['id'], (array)$this->cat_id)) // cat is a direct sub of $this->cat_id
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user