[Rt-commit] r7043 - rt/branches/3.6-RELEASE/html/Elements

ruz at bestpractical.com ruz at bestpractical.com
Wed Feb 21 12:31:39 EST 2007


Author: ruz
Date: Wed Feb 21 12:31:37 2007
New Revision: 7043

Modified:
   rt/branches/3.6-RELEASE/html/Elements/QueueSummary

Log:
* fix problems in Quicksearch when queue name has the ampersand char

Modified: rt/branches/3.6-RELEASE/html/Elements/QueueSummary
==============================================================================
--- rt/branches/3.6-RELEASE/html/Elements/QueueSummary	(original)
+++ rt/branches/3.6-RELEASE/html/Elements/QueueSummary	Wed Feb 21 12:31:37 2007
@@ -56,10 +56,10 @@
 %   my $queue_cond = "Queue = '$queue->{Name}' AND ";
 %   my $all_q = $queue_cond . "(Status = 'open' OR Status = 'new' OR Status = 'stalled')";
 <tr class="<% $i%2 ? 'oddline' : 'evenline'%>" >
-<td><a href="<% $RT::WebPath%>/Search/Results.html?Query=<%$all_q%>" title="<% $queue->{Description} %>"><%$queue->{Name}%></a></td>
+<td><a href="<% $RT::WebPath%>/Search/Results.html?Query=<% $all_q |u,n %>" title="<% $queue->{Description} %>"><% $queue->{Name} %></a></td>
 %   for my $condition (@$conditions) {
 %       $Tickets->FromSQL( "Queue = $queue->{id} AND ". $condition->{cond} );
-<td align="right"><a href="<% $RT::WebPath%>/Search/Results.html?Query=<%$queue_cond.$condition->{cond}%>"><% $Tickets->Count %></a></td>
+<td align="right"><a href="<% $RT::WebPath%>/Search/Results.html?Query=<% $queue_cond.$condition->{cond} |u,n %>"><% $Tickets->Count %></a></td>
 %   }
 </tr>
 % }


More information about the Rt-commit mailing list