[rt-users] Sort dashboards in a custom or pre-defined order ?

Emmanuel Lacour elacour at easter-eggs.com
Thu Oct 15 03:26:50 EDT 2009


On Wed, Oct 14, 2009 at 06:47:19PM -0400, David wrote:
> Hi,
> 
> I've created several dashboards and I would like to sort them in a
> particular way (alphabetical or other).
> 
> However, it seems that by default, they are sorted by creation (by
> their unique ID).
> 

there is no configuration for this, you have to modify
share/html/Dashboards/index.html:

line like this:

 Dashboards => [sort { $a->Id <=> $b->Id } @{ $dashboards->{personal} || [] }],

you can replace $a->Id with $a->Name for example.


see "perldoc -f sort" for more informations on sort order.




More information about the rt-users mailing list