Bug 20614: Use GET instead of POST for subscription renewing
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 18 Apr 2018 17:56:13 +0000 (14:56 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 24 Apr 2018 15:04:46 +0000 (12:04 -0300)
It will prevent Firefox (and certainly other browsers) to block the form
resubmit:

"To display this page, Firefox must send information that will repeat
any action (such as a search or order confirmation) that was performed
earlier."

Test plan:
Renew a subscription and save

=> You should not longer see the browser warning

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/serials/checkexpiration.tt

index 3ceb99c..24a977c 100644 (file)
@@ -20,7 +20,7 @@
 
 <h1>Check expiration</h1>
 
-    <form name="f" action="/cgi-bin/koha/serials/checkexpiration.pl" method="post" class="validated">
+    <form name="f" action="/cgi-bin/koha/serials/checkexpiration.pl" method="get" class="validated">
 <fieldset class="rows">
     <legend>Filter results:</legend>