[rt-users] Upgrade craziness
Tim Suter
tsuter at cait.org
Thu Aug 18 10:49:34 EDT 2005
Went from 2.0.15 to 3.2.3. It's up and running. However there a few
'glitches' to say the least. I had a ticket number 23456 submitted last
night....then i had the same exact ticket come through early this a.m.
as ticket 23556. No one submitted that one. Where did it come from?
Another problem I am still having is the displaying stalled tickets.
Can someone PLEASE give me hand with this? And why would it be taken
out of 3.2.3? Stephen Dowdy gave me some code to insert in the
Elements/Quicksearch file, however, I am NOT a code master and don't
know where I could put it. Can someone tell me where PLEASE?
This is the code:
saw:Elements# diff /opt/rt3/share/html/Elements/Quicksearch Quicksearch
45a46,52
> %#RAL BEGIN RAL TAGGED BLOCK }}}
> %#RAL Modification:
> %#RAL 11-Feb-2005 (sdowdy at ucar.edu)
> %#RAL Add in threshhold evaluation to set a background-color
style of
> %#RAL RED on Queue New/Open/Stalled. (todo: use per-queue
> %#RAL customfields for threshhold values?)
> %#RAL END RAL TAGGED BLOCK }}}
52a60
> <th class="collection-as-table" align=right><&|/l&>Stall</&></th>
62c70,71
< my $all_q = "Queue = '".$queue->Name."' AND (Status = 'open'
OR Status = 'new')";
---
> my $stall_q = "Queue = '".$queue->Name."' AND Status =
'stalled'";
> my $all_q = "Queue = '".$queue->Name."' AND (Status = 'open'
OR Status = 'new' OR Status = 'stalled')";
69a79,81
> $Tickets->FromSQL($stall_q);
> my $stall = $Tickets->Count();
>
76,77c88,90
< <td align="right"><A HREF="<%
$RT::WebPath%>/Search/Results.html?Query=<%$new_q%>&Rows=50"><%$new%></a></TD>
< <td align="right"><A HREF="<%
$RT::WebPath%>/Search/Results.html?Query=<%$open_q%>&Rows=50"><%$open%></a></TD>
---
> <td align="right" style="<% $new > 5 ? 'background-color: red' : ''
%>"><A HREF="<%
$RT::WebPath%>/Search/Results.html?Query=<%$new_q%>&Rows=50"><% $new
%></a></TD>
> <td align="right" style="<% $open > 50 ? 'background-color: red' : ''
%>" ><A HREF="<%
$RT::WebPath%>/Search/Results.html?Query=<%$open_q%>&Rows=50"><% $open
%></a></TD>
> <td align="right" style="<% $stall > 5 ? 'background-color: red' : ''
%>" ><A HREF="<%
$RT::WebPath%>/Search/Results.html?Query=<%$stall_q%>&Rows=50"><% $stall
%></a></TD>
More information about the rt-users
mailing list