Bug #2187 can't back to advance search
Submitted: 22 Dec 2003 7:58 Modified: 31 May 2004 18:38
Reporter: xuefer tinys Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Websites: bugs.mysql.com Severity:S3 (Non-critical)
Version: OS:
Assigned to: Indrek Siitan CPU Architecture:Any

[22 Dec 2003 7:58] xuefer tinys
Description:
http://bugs.mysql.com/search.php used method="post" in <form>
when i'm in search result and click "back", it just back to url which is same to result page, and no search field appears

How to repeat:
http://bugs.mysql.com/
http://bugs.mysql.com/search.php
fill in and submit
got to: http://bugs.mysql.com/search.php with result
press back button, got to http://bugs.mysql.com/search.php with result, not advance search form
[23 Dec 2003 7:18] Dean Ellis
I cannot repeat this; "back" works just fine for me.
[23 Dec 2003 8:10] xuefer tinys
hi. what browser are you using?
mine is ie6 updated to lastest patch
[23 Dec 2003 9:10] Dean Ellis
I was using Mozilla Firebird, actually.  Verified with IE6.

Thank you.
[23 Dec 2003 21:16] xuefer tinys
some tips:
http://www.w3.org/TR/html4/interact/forms.html#h-17.13.1

[quote]
The "get" method should be used when the form is idempotent (i.e., causes no side-effects). Many database searches have no visible side-effects and make ideal applications for the "get" method.

If the service associated with the processing of a form causes side effects (for example, if the form modifies a database or subscription to a service), the "post" method should be used.

[/quote]

bugs.php.net already use method="GET"
[31 May 2004 18:38] Indrek Siitan
Fixed by changing to GET.