Bug 34478: opac-basket does not need a POST for downloading cart

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Marcel de Rooy 2024-02-01 14:43:16 +00:00 committed by Jonathan Druart
parent 44949a88ea
commit 806282f602
Signed by: jonathan.druart
GPG key ID: A085E712BEF0E0F0

View file

@ -349,8 +349,7 @@
<form name="myform" action="opac-basket.pl" method="get">
<input type="hidden" name="records" id="records" />
</form>
<form method="post" id="download_cart" action="/cgi-bin/koha/opac-downloadcart.pl">
[% INCLUDE 'csrf-token.inc' %]
<form method="get" id="download_cart" action="/cgi-bin/koha/opac-downloadcart.pl">
<input type="hidden" name="format" id="download_format" value="" />
<input type="hidden" name="bib_list" value="[% bib_list | html %]" />
</form>