Carry over sort order when going back to see more results.

        Patch by mark. 

diffs (11 lines):

diff -r 1f9b39c1f87e -r 7e425798f29e htdocs/search.bml
--- a/htdocs/search.bml Tue Oct 20 14:18:31 2009 +0000
+++ b/htdocs/search.bml Tue Oct 20 17:27:18 2009 +0000
@@ -193,6 +193,7 @@ body<=
         $ret .= "<form method='post' 
action='$LJ::SITEROOT/search?offset=$offsetm'>" . LJ::form_auth() .
                 "<input type='hidden' name='query' value='" . LJ::ehtml( $q ) 
. "'>" .
                 "<input type='hidden' name='mode' value='" . ( $su ? $su->user 
: '' ) . "'>" .
+                "<input type='hidden' name='sort_by' value='" . $sby . "'>" .
                 "<input type='submit' value='More Results...' />" .
                 "</form>";
     }
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog

Reply via email to