Bug 37365: (QA follow-up) Add borrowernumber to referrer url
Since we post to add_message, we need to ensure that the borrowernumber is added to the referrer url. This 'tric' is already done there for another form. Test plan: See original plan. Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Aleisha Amohia <aleishaamohia@hotmail.com> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de> (cherry picked from commitfbc2e2e933) Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> (cherry picked from commitdd45949443) Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
710ddbd960
commit
8768a3f701
|
|
@ -59,7 +59,7 @@ else {
|
|||
|
||||
my $url = $input->referer;
|
||||
if ( $url ) {
|
||||
if ( $url =~ m|circulation\.pl$| ) {
|
||||
if ( $url =~ m/(circulation\.pl|members\/files\.pl)$/ ) {
|
||||
# Trick for POST form from batch checkouts
|
||||
$url .= "?borrowernumber=$borrowernumber";
|
||||
$url .= "&batch=1" if $batch;
|
||||
|
|
|
|||
Loading…
Reference in New Issue