mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-23 05:41:02 +01:00
Sort categories alphabetically in planner by category view
This commit is contained in:
parent
cb85377c0a
commit
c30e35bdd8
@ -2122,7 +2122,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