[Rt-commit] r6653 - rt/branches/3.6-RELEASE/html/Search/Elements
ruz at bestpractical.com
ruz at bestpractical.com
Tue Dec 19 14:59:18 EST 2006
Author: ruz
Date: Tue Dec 19 14:59:18 2006
New Revision: 6653
Modified:
rt/branches/3.6-RELEASE/html/Search/Elements/DisplayOptions
Log:
* always select(mark an option as selected) ASC or DESC value
* drop aninit warn
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 Dec 19 14:59:18 2006
@@ -75,12 +75,12 @@
</select>
<select name="Order">
<option value="ASC"
-% if ($Order[$o] eq "ASC") {
+% unless ( ($Order[$o]||'') eq "DESC" ) {
selected
% }
><&|/l&>Asc</&></option>
<option value="DESC"
-% if ($Order[$o] eq "DESC") {
+% if ( ($Order[$o]||'') eq "DESC" ) {
selected
% }
><&|/l&>Desc</&></option>
More information about the Rt-commit
mailing list