Bugzilla – Attachment 169034 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: Fixed redirect when adding a patron message from members/files.pl
Bug-37365-Fixed-redirect-when-adding-a-patron-mess.patch (text/plain), 1.17 KB, created by
David Nind
on 2024-07-16 03:53:14 UTC
(
hide
)
Description:
Bug 37365: Fixed redirect when adding a patron message from members/files.pl
Filename:
MIME Type:
Creator:
David Nind
Created:
2024-07-16 03:53:14 UTC
Size:
1.17 KB
patch
obsolete
>From 62720dba11084fedd68df4844e25edbd858d0a24 Mon Sep 17 00:00:00 2001 >From: Eric Garcia <cubingguy714@gmail.com> >Date: Mon, 15 Jul 2024 20:17:57 +0000 >Subject: [PATCH] Bug 37365: Fixed redirect when adding a patron message from > members/files.pl > >To test: >1. Set 'EnableBorrowerFiles' to 'Do' >2. Find a patron record >3. Upload a file >4. Once the uploaed completes 'Add message' and save >5. You are redirected to /cgi-bin/koha/members/files.pl with a message like: "Patron not found. Return to search" >6. Apply patch and restart_all >7. Repeat steps 1-4 and notice you are redirected to the correct page '/cgi-bin/koha/members/files.pl?borrowernumber=' > >Signed-off-by: David Nind <david@davidnind.com> >--- > members/files.pl | 5 +++++ > 1 file changed, 5 insertions(+) > >diff --git a/members/files.pl b/members/files.pl >index c09658a2d2..ea2c0dae84 100755 >--- a/members/files.pl >+++ b/members/files.pl >@@ -108,6 +108,11 @@ else { > > errors => \%errors, > ); >+ >+ if ( $op eq 'cud-upload' ){ >+ print $cgi->redirect('/cgi-bin/koha/members/files.pl?borrowernumber=' . $borrowernumber ); >+ } >+ > output_html_with_http_headers $cgi, $cookie, $template->output; > } > >-- >2.39.2
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