mark: A photo of Mark kneeling on top of the Taal Volcano in the Philippines. It was a long hike. (Default)
Mark Smith ([staff profile] mark) wrote in [site community profile] changelog2009-10-20 05:27 pm

[dw-free] Site-wide search

[commit: http://hg.dwscoalition.org/dw-free/rev/7e425798f29e]

http://bugs.dwscoalition.org/show_bug.cgi?id=1902

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

Patch by [staff profile] mark.

Files modified:
  • htdocs/search.bml
--------------------------------------------------------------------------------
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>";
     }
--------------------------------------------------------------------------------

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org