[Rt-commit] r2808 - in rt/branches/QUEBEC-EXPERIMENTAL: . html/Prefs
jesse at bestpractical.com
jesse at bestpractical.com
Tue Apr 26 17:49:21 EDT 2005
Author: jesse
Date: Tue Apr 26 17:49:20 2005
New Revision: 2808
Modified:
rt/branches/QUEBEC-EXPERIMENTAL/ (props changed)
rt/branches/QUEBEC-EXPERIMENTAL/html/Prefs/SearchOptions.html
Log:
r14531 at hualien: jesse | 2005-04-26 17:43:35 -0400
* Multi-step editing of preferences broken by the last edit
Modified: rt/branches/QUEBEC-EXPERIMENTAL/html/Prefs/SearchOptions.html
==============================================================================
--- rt/branches/QUEBEC-EXPERIMENTAL/html/Prefs/SearchOptions.html (original)
+++ rt/branches/QUEBEC-EXPERIMENTAL/html/Prefs/SearchOptions.html Tue Apr 26 17:49:20 2005
@@ -88,10 +88,10 @@
my $prefs = $session{'CurrentUser'}->UserObj->Preferences("SearchDisplay") || {}
;
-$Format = $prefs->{'Format'};
-$Order = $prefs->{'Order'} || 'ASC';
-$OrderBy = $prefs->{'OrderBy'} || 'id';
-$RowsPerPage = defined( $prefs->{'RowsPerPage'}) ? $prefs->{'RowsPerPage'} : 50;
+$Format ||= $prefs->{'Format'};
+$Order ||= $prefs->{'Order'} || 'ASC';
+$OrderBy ||= $prefs->{'OrderBy'} || 'id';
+($RowsPerPage = defined( $prefs->{'RowsPerPage'}) ? $prefs->{'RowsPerPage'} : 50) unless defined ($RowsPerPage);
my ( $AvailableColumns, $CurrentFormat );
( $Format, $AvailableColumns, $CurrentFormat ) = $m->comp(
More information about the Rt-commit
mailing list