Bugzilla – Attachment 94038 Details for
Bug 17247
ILS-DI HoldTitle and HoldItem should check if patron is restricted
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17247: (follow-up) Terminology fix: Use Restricted instead of debarred
Bug-17247-follow-up-Terminology-fix-Use-Restricted.patch (text/plain), 1.44 KB, created by
Katrin Fischer
on 2019-10-12 11:24:25 UTC
(
hide
)
Description:
Bug 17247: (follow-up) Terminology fix: Use Restricted instead of debarred
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2019-10-12 11:24:25 UTC
Size:
1.44 KB
patch
obsolete
>From 04fba570fa849b7c273731ecf2b6017c5c8663a5 Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <katrin.fischer.83@web.de> >Date: Wed, 9 Oct 2019 12:39:28 +0000 >Subject: [PATCH] Bug 17247: (follow-up) Terminology fix: Use Restricted > instead of debarred > >--- > C4/ILSDI/Services.pm | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > >diff --git a/C4/ILSDI/Services.pm b/C4/ILSDI/Services.pm >index fbc77e3398..64caa4a6fa 100644 >--- a/C4/ILSDI/Services.pm >+++ b/C4/ILSDI/Services.pm >@@ -688,8 +688,8 @@ sub HoldTitle { > my $patron = Koha::Patrons->find( $borrowernumber ); > return { code => 'PatronNotFound' } unless $patron; > >- # If borrower is debarred return an error code >- return { code => 'PatronDebarred' } if $patron->is_debarred; >+ # If borrower is restricted return an error code >+ return { code => 'PatronRestricted' } if $patron->is_debarred; > > # Get the biblio record, or return an error code > my $biblionumber = $cgi->param('bib_id'); >@@ -776,8 +776,8 @@ sub HoldItem { > my $patron = Koha::Patrons->find( $borrowernumber ); > return { code => 'PatronNotFound' } unless $patron; > >- # If borrower is debarred return an error code >- return { code => 'PatronDebarred' } if $patron->is_debarred; >+ # If borrower is restricted return an error code >+ return { code => 'PatronRestricted' } if $patron->is_debarred; > > # Get the biblio or return an error code > my $biblionumber = $cgi->param('bib_id'); >-- >2.11.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 17247
:
55174
|
70684
|
72963
|
75261
|
75262
|
75270
|
89652
|
89653
|
93549
|
94037
| 94038