Bugzilla – Attachment 174061 Details for
Bug 37365
Bad redirect when adding a patron message from members/files.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 37365: (QA follow-up) Add borrowernumber to referrer url
Bug-37365-QA-follow-up-Add-borrowernumber-to-refer.patch (text/plain), 1.07 KB, created by
Aleisha Amohia
on 2024-11-06 03:19:26 UTC
(
hide
)
Description:
Bug 37365: (QA follow-up) Add borrowernumber to referrer url
Filename:
MIME Type:
Creator:
Aleisha Amohia
Created:
2024-11-06 03:19:26 UTC
Size:
1.07 KB
patch
obsolete
>From 11898b1b7cf8b5e16688fef1dd445ab81299483b Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Fri, 4 Oct 2024 09:04:18 +0000 >Subject: [PATCH] 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> >--- > circ/add_message.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/circ/add_message.pl b/circ/add_message.pl >index 08cf1e4d9f6..aa59914556c 100755 >--- a/circ/add_message.pl >+++ b/circ/add_message.pl >@@ -97,7 +97,7 @@ if ( $op eq 'cud-edit_message' && $message_id ) { > > 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"; >-- >2.39.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 37365
:
169028
|
169034
|
172381
|
172382
| 174061 |
174062