Patch to make new/open/stalled tallies on main page links to associated queue/query

This is a patch to WebRT/html/Elements/Quicksearch from rt-2.0.13.

[root@rt Elements]# rcsdiff -r1.1 -r 1.2 Quicksearch
rcsdiff: RCS/1.2,v: No such file or directory
RCS file: RCS/Quicksearch,v
retrieving revision 1.1
retrieving revision 1.2
diff -r1.1 -r1.2
29,31c29,31
< <%$new%>
< <%$open%>
< <%$stalled%>

<A HREF="<% </blockquote> <p>$RT::WebPath%>/Search/Listing.html?ValueOfStatus=new&StatusOp=%3D&QueueOp=%3D&ValueOfQueue=<%$queue->Id%>&RowsPerPage=50&NewSearch=1"><%$new%></a></TD></p> <blockquote> <TD><A HREF="<%

$RT::WebPath%>/Search/Listing.html?ValueOfStatus=open&StatusOp=%3D&QueueOp=%3D&ValueOfQueue=<%$queue->Id%>&RowsPerPage=50&NewSearch=1"><%$open%>

<A HREF="<% </blockquote> <p>$RT::WebPath%>/Search/Listing.html?ValueOfStatus=stalled&StatusOp=%3D&QueueOp=%3D&ValueOfQueue=<%$queue->Id%>&RowsPerPage=50&NewSearch=1"><%$stalled%></a></TD></p> <p>Michael J. Carter | People love high ideals, but they got<br> to<br> IT Team Leader | be about 33-percent plausible. – The<br> Space Data Systems (NIS-3) | Best of Will Rogers<br> Los Alamos National Laboratory |</p>

This is a patch to WebRT/html/Elements/Quicksearch from rt-2.0.13.

[root@rt Elements]# rcsdiff -r1.1 -r 1.2 Quicksearch
rcsdiff: RCS/1.2,v: No such file or directory

RCS file: RCS/Quicksearch,v
retrieving revision 1.1
retrieving revision 1.2
diff -r1.1 -r1.2
29,31c29,31
< <%$new%>
< <%$open%>
< <%$stalled%>

<%$new%> <%$open%> <%$stalled%>

A nice feature that I was thinking of doing for a long time but never
got around to. Here’s an additional patch (also to 2.0.13) that makes
the New/Open/Stalled column headers links to the corresponding searches:

6,8c6,11
< New
< Open
< Stalled

   <th align=left><font size=-1>
    <A HREF="<% 

$RT::WebPath%>/Search/Listing.html?ValueOfStatus=new&StatusOp=%3D&RowsPerPage=50&NewSearch=1">New

   <th align=left><font size=-1>
    <A HREF="<% 

$RT::WebPath%>/Search/Listing.html?ValueOfStatus=open&StatusOp=%3D&RowsPerPage=50&NewSearch=1">Open

   <th align=left><font size=-1>
    <A HREF="<% 

$RT::WebPath%>/Search/Listing.html?ValueOfStatus=stalled&StatusOp=%3D&RowsPerPage=50&NewSearch=1">Stalled

This patch should apply whether or not you have already applied
Michael’s (since it comes earlier in the file).

@alex
mailto:dupuy@sysd.com