Bugzilla – Attachment 43167 Details for
Bug 5144
Duplicate holds allowed if patron clicks back button after placing hold
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 5144: Don't display the failed_holds param in the url if not needed
Bug-5144-Dont-display-the-failedholds-param-in-the.patch (text/plain), 903 bytes, created by
Jonathan Druart
on 2015-10-06 12:59:51 UTC
(
hide
)
Description:
Bug 5144: Don't display the failed_holds param in the url if not needed
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2015-10-06 12:59:51 UTC
Size:
903 bytes
patch
obsolete
>From 17a707bea7812d0149fa1f048493212245ac8b93 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 6 Oct 2015 13:59:04 +0100 >Subject: [PATCH] Bug 5144: Don't display the failed_holds param in the url if > not needed > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > opac/opac-reserve.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/opac/opac-reserve.pl b/opac/opac-reserve.pl >index 6e35c18..ef81b1d 100755 >--- a/opac/opac-reserve.pl >+++ b/opac/opac-reserve.pl >@@ -297,7 +297,7 @@ if ( $query->param('place_reserve') ) { > } > } > >- print $query->redirect("/cgi-bin/koha/opac-user.pl?failed_holds=$failed_holds#opac-user-holds"); >+ print $query->redirect("/cgi-bin/koha/opac-user.pl?" . ( $failed_holds ? "failed_holds=$failed_holds" : q|| ) . "#opac-user-holds"); > exit; > } > >-- >2.1.0
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 5144
:
28657
|
28658
|
28659
|
34983
|
34984
|
34985
|
34986
|
34987
|
34988
|
35090
|
35091
|
35092
|
35093
|
35451
|
40823
|
40824
|
42530
|
42792
|
42848
|
43118
|
43119
|
43120
|
43121
|
43122
|
43125
|
43126
|
43164
|
43165
|
43166
| 43167