[Rt-commit] r7669 - in rt/branches/3.6-RELEASE: .
jesse at bestpractical.com
jesse at bestpractical.com
Tue Apr 24 09:28:25 EDT 2007
Author: jesse
Date: Tue Apr 24 09:28:24 2007
New Revision: 7669
Modified:
rt/branches/3.6-RELEASE/ (props changed)
rt/branches/3.6-RELEASE/html/Search/Elements/DisplayOptions
Log:
r55983 at pinglin: jesse | 2007-04-24 09:24:25 -0400
The selected option of the "OrderBy"-selectbox cannot be saved in /rt/Prefs/SearchOptions.html if only one (of possibly 4) sort field is selected and other are set to none.
patch: <http://page.mi.fu-berlin.de/~pape/rt3/patches/rt/search_prefs_order_cannot_be_saved.patch>
-Dr. Dirk Pape
Modified: rt/branches/3.6-RELEASE/html/Search/Elements/DisplayOptions
==============================================================================
--- rt/branches/3.6-RELEASE/html/Search/Elements/DisplayOptions (original)
+++ rt/branches/3.6-RELEASE/html/Search/Elements/DisplayOptions Tue Apr 24 09:28:24 2007
@@ -120,13 +120,15 @@
my @Order;
my @OrderBy;
if ($OrderBy =~ /\|/) {
- @Order = split /\|/, $Order;
@OrderBy = split /\|/, $OrderBy;
} else {
- @Order = ( $Order );
@OrderBy = ( $OrderBy );
}
-
+if ($Order =~ /\|/) {
+ @Order = split /\|/, $Order;
+} else {
+ @Order = ( $Order );
+}
</%INIT>
More information about the Rt-commit
mailing list