RT- Gantt chart Possible to increase the length allowed to display the task name?

Is it possible to increase the length allowed to display the task name in
the Gantt chart?

Gaston Huot
514.823-7202

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@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

Peter

I missed your answer in last December…

Searching again for the same request, I just found your solution…

Thank you so much, it works perfectly.

Gaston

View this message in context: http://requesttracker.8502.n7.nabble.com/RT-Gantt-chart-Possible-to-increase-the-length-allowed-to-display-the-task-name-tp59149p60644.html