[rt-users] RT- Gantt chart Possible to increase the length allowed to display the task name ?

Alex Peters alex at peters.net
Fri Dec 12 06:42:31 EST 2014


Are you referring to the truncation of ticket subjects in the leftmost
column of the Gantt chart?

If so, you can do an ugly hack to the JSGantt extension code to remove that
truncation.  (I don't actually know why that truncation occurs; removing it
causes no problems for me.)

Look
in $RTHOME/local/plugins/RT-Extension-JSGantt/lib/RT/Extension/JSGantt.pm
for the line containing "substr" and change that line from this:

name  => ( $Ticket->id . ': ' . substr $subject, 0, 30 ),

to this:

name  => ( $Ticket->id . ': ' . $subject ),

Restart your RT server to see the effect.

You will lose this hack (and have to redo it) if you upgrade the extension
later (v1.02 has been released in the last day or so).


On 10 December 2014 at 05:52, Gaston Huot <Gaston at huot.me> wrote:
>
> Is it possible to increase the length allowed to display the task name in
> the Gantt chart?
>
> Gaston Huot
> 514.823-7202
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20141212/0b261112/attachment.html>


More information about the rt-users mailing list