[Rt-commit] r15131 - in rt/3.8/trunk: share/html/Search
kyoki at bestpractical.com
kyoki at bestpractical.com
Wed Aug 13 14:07:33 EDT 2008
Author: kyoki
Date: Wed Aug 13 14:07:32 2008
New Revision: 15131
Modified:
rt/3.8/trunk/ (props changed)
rt/3.8/trunk/share/html/Search/Bulk.html
Log:
r31150 at nyx: kyoki | 2008-08-13 14:04:18 -0400
Row preferences are now preserved after a bulk update
Modified: rt/3.8/trunk/share/html/Search/Bulk.html
==============================================================================
--- rt/3.8/trunk/share/html/Search/Bulk.html (original)
+++ rt/3.8/trunk/share/html/Search/Bulk.html Wed Aug 13 14:07:32 2008
@@ -61,7 +61,8 @@
% foreach my $var qw(Query Format OrderBy Order Rows Page) {
<input type="hidden" class="hidden" name="<%$var%>" value="<%$ARGS{$var} || ''%>" />
%}
-<& /Elements/CollectionList, Query => $Query,
+<& /Elements/CollectionList,
+ Query => $Query,
DisplayFormat => $Format,
Format => $ARGS{'Format'},
Verbatim => 1,
@@ -207,7 +208,10 @@
<%INIT>
-$Rows = $RowsPerPage unless (defined $Rows);
+unless ( defined $Rows ) {
+ $Rows = $RowsPerPage;
+ $ARGS{Rows} = $RowsPerPage;
+}
my $title = loc("Update multiple tickets");
# Iterate through the ARGS hash and remove anything with a null value.
More information about the Rt-commit
mailing list