RT at a Glance is displaying our custom Dashboards fine.  But as has been 
mentioned before they are listed by ID.

We need to have them sorted alphabetically.

I found the thread  below.....

Will this sort the Dashboards on a Global basis for display on our Global RT at 
a Glance page?

The codes snippet below, says   3.8.7 and later in the 3.8 series.     Will 
this code work in 4.0.10?

And in which directory should this live.

On RT 4.0.0 and later

The MassageDashboards callback was removed in the run up to 4.0.0 in commit 
6c815c8<https://github.com/bestpractical/rt/commit/6c815c8>. In order to affect 
dashboard sorting, you'll need to wrap a Perl method in RT::Dashboards and use 
the ModifyDashboards callback to ListOfDashboards.

On RT 3.8.7 and later in the 3.8 series [cid:image001.png@01CE103A.F44AE660] 
Edit<http://requesttracker.wikia.com/wiki/ManualDashboards?action=edit&section=6>

Write a callback 
html/Callbacks/CustomDashboardSort/Dashboards/index.html/MassageDashboards

<%ARGS>

$PersonalDashboards

</%ARGS>

<%INIT>

@$PersonalDashboards = sort { $a->Name cmp $b->Name } @$PersonalDashboards

</%INIT>



[ARC]<http://www.arcproductions.com/>

Ray Corbett  Technology Projects Manager

p: 416.682.5200 x5232  | f: 416.682.5209
Arc Productions Ltd. | 230 Richmond Street East | Toronto, ON M5A 1P4
www.arcproductions.com<http://www.arcproductions.com>



<<inline: image001.png>>

<<inline: image002.gif>>


-- 
RT training in Amsterdam, March 20-21: 
http://bestpractical.com/services/training.html

Help improve RT by taking our user survey: 
https://www.surveymonkey.com/s/N23JW9T

Reply via email to