Bugzilla – Attachment 74637 Details for
Bug 20400
Add routing list tab to the patron account in OPAC
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20400: (QA follow-up) Redirect to 404 if routing is disabled
Bug-20400-QA-follow-up-Redirect-to-404-if-routing-.patch (text/plain), 836 bytes, created by
Nick Clemens (kidclamp)
on 2018-04-20 12:58:40 UTC
(
hide
)
Description:
Bug 20400: (QA follow-up) Redirect to 404 if routing is disabled
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2018-04-20 12:58:40 UTC
Size:
836 bytes
patch
obsolete
>From d11770c07881940090a9b274556c046a477f6ac5 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Fri, 20 Apr 2018 12:56:01 +0000 >Subject: [PATCH] Bug 20400: (QA follow-up) Redirect to 404 if routing is > disabled > >--- > opac/opac-routing-lists.pl | 7 +++++++ > 1 file changed, 7 insertions(+) > >diff --git a/opac/opac-routing-lists.pl b/opac/opac-routing-lists.pl >index 2dc09c6..331cc4d 100644 >--- a/opac/opac-routing-lists.pl >+++ b/opac/opac-routing-lists.pl >@@ -24,6 +24,13 @@ use C4::Output; > use Koha::Patrons; > > my $query = new CGI; >+ >+unless ( C4::Context->preference('RoutingSerials') ) { >+ print $query->redirect("/cgi-bin/koha/errors/404.pl"); >+ exit; >+} >+ >+ > my ( $template, $borrowernumber, $cookie ) = get_template_and_user( > { > template_name => "opac-routing-lists.tt", >-- >2.1.4
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 20400
:
72973
|
72974
|
73115
|
73116
|
73117
|
73118
|
73121
|
73122
|
73123
|
73124
|
74291
|
74292
|
74293
|
74294
|
74295
|
74296
|
74297
|
74298
|
74299
|
74300
|
74402
|
74588
|
74589
|
74590
|
74592
|
74593
|
74632
|
74633
|
74634
|
74635
|
74636
| 74637 |
74662
|
74664
|
74666