Bugzilla – Attachment 169028 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.12 KB, created by
Eric Garcia
on 2024-07-15 20:29:03 UTC
(
hide
)
Description:
Bug 37365: Fixed redirect when adding a patron message from members/files.pl
Filename:
MIME Type:
Creator:
Eric Garcia
Created:
2024-07-15 20:29:03 UTC
Size:
1.12 KB
patch
obsolete
>From 87e4d14a85f36f7904c70548e600a798c66cc637 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=' >--- > 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.30.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