[Rt-commit] [svn] r1136 - rt/branches/rt-3.1/html/Search

alexmv at pallas.eruditorum.org alexmv at pallas.eruditorum.org
Tue Jun 22 17:17:44 EDT 2004


Author: alexmv
Date: Tue Jun 22 17:17:44 2004
New Revision: 1136

Modified:
   rt/branches/rt-3.1/html/Search/Build.html
Log:
 * Oops.  Should make sure to store state before forwarding to results.


Modified: rt/branches/rt-3.1/html/Search/Build.html
==============================================================================
--- rt/branches/rt-3.1/html/Search/Build.html	(original)
+++ rt/branches/rt-3.1/html/Search/Build.html	Tue Jun 22 17:17:44 2004
@@ -726,6 +726,16 @@
 
 # }}}
 
+# {{{ Push the updates into the session so we don't loose 'em
+$search_hash->{'SearchId'} = $SearchId;
+$search_hash->{'Format'} = $Format;
+$search_hash->{'Query'} = $Query;
+$search_hash->{'Description'} = $Description;
+$search_hash->{'Object'} = $search;
+
+$session{'CurrentSearchHash'} = $search_hash;
+# }}}
+
 # {{{ Show the results, if we were asked.
 if ( $ARGS{"DoSearch"} ) {
     $m->comp("Results.html" , Query => $Query, Format => $Format, OrderBy => $ARGS{OrderBy}, Rows => $ARGS{RowsPerPage});
@@ -746,16 +756,6 @@
 }
 # }}}
 
-# {{{ Push the updates into the session so we don't loose 'em
-$search_hash->{'SearchId'} = $SearchId;
-$search_hash->{'Format'} = $Format;
-$search_hash->{'Query'} = $Query;
-$search_hash->{'Description'} = $Description;
-$search_hash->{'Object'} = $search;
-
-$session{'CurrentSearchHash'} = $search_hash;
-# }}}
-
 </%INIT>
 
 <%ARGS>


More information about the Rt-commit mailing list