[Rt-commit] r4023 - in rtir/branches/1.9-EXPERIMENTAL: .
html/RTIR/Search/Elements
ruz at bestpractical.com
ruz at bestpractical.com
Thu Nov 3 16:45:32 EST 2005
Author: ruz
Date: Thu Nov 3 16:45:30 2005
New Revision: 4023
Modified:
rtir/branches/1.9-EXPERIMENTAL/ (props changed)
rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Search/Elements/ShowResults
Log:
r257 at cubic-pc: cubic | 2005-11-03 16:49:26 +0300
r250 at cubic-pc: cubic | 2005-11-03 16:38:43 +0300
* invalidating of the ordering cache is task of the SB
* send ARGS to the TicketList
* get rid of the commented block
Modified: rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Search/Elements/ShowResults
==============================================================================
--- rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Search/Elements/ShowResults (original)
+++ rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Search/Elements/ShowResults Thu Nov 3 16:45:30 2005
@@ -1,15 +1,14 @@
-<& /Elements/TicketList,
+<& /Elements/TicketList,
+ %ARGS,
RTIRCheck => $RTIRCheck,
Query => $Query,
- AllowSorting => 1,
OrderBy => $OrderBy,
Order => $Order,
Rows => $Rows,
Page => $Page,
Format => $Format,
BaseURL => $BaseURL,
- ShowNavigation => 0
- &>
+&>
<div align="right">
@@ -18,12 +17,6 @@
<a href="<%$RT::WebPath%>/RTIR/Report/BulkReject.html<%$QueryString%>&Queue=<%$Queue%>"><&|/l&>Bulk Reject</&></a><br>
% }
-%if (0) {
-<a href="<%$BaseURL%><%$QueryString%>&Queue=<%$Queue|u%>"><&|/l&>Bookmarkable link</&></a><br>
-<a href="<%$RT::WebPath%>/Search/Results.tsv?Queue=<%$Queue%><%$QueryString%>"><&|/l&>spreadsheet</&></a> |
-<a href="<%$RT::WebPath%>/Search/Results.rdf?Queue=<%$Queue%><%$QueryString%>"><&|/l&>RSS</&></a> |
-
-% }
</div>
<%INIT>
@@ -36,21 +29,20 @@
or $Order ne $session{'CurrentSearchHash'}->{'Order'}) {
$session{'CurrentSearchHash'}->{'OrderBy'} = $OrderBy;
$session{'CurrentSearchHash'}->{'Order'} = $Order;
- # Invalidate the ordering cache
- undef $session{'tickets'}->{'items_array'};
}
</%INIT>
-
<%ARGS>
+$Queue => undef
$Query => undef
-$Format => undef
+$Format => undef
$HideResults => 0
$Rows => 50
$Page => 1
$OrderBy => 'id'
$Order => 'ASC'
$QueryString => undef
-$Queue => undef
$BaseURL => $RT::WebPath."/Search/Results.html?"
$RTIRCheck => undef
+$ShowNavigation => 0
+$AllowSorting => 1
</%ARGS>
More information about the Rt-commit
mailing list