Bugzilla – Attachment 174506 Details for
Bug 36197
Allow for OPAC unauthenticated ILL request
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36197: Only add cardnumber info to request is a user is logged in
Bug-36197-Only-add-cardnumber-info-to-request-is-a.patch (text/plain), 1.10 KB, created by
Pedro Amorim
on 2024-11-14 11:37:44 UTC
(
hide
)
Description:
Bug 36197: Only add cardnumber info to request is a user is logged in
Filename:
MIME Type:
Creator:
Pedro Amorim
Created:
2024-11-14 11:37:44 UTC
Size:
1.10 KB
patch
obsolete
>From a0bdd93768d8ca149beb3ff7d65815b8ae9f5a20 Mon Sep 17 00:00:00 2001 >From: Pedro Amorim <pedro.amorim@ptfs-europe.com> >Date: Tue, 5 Mar 2024 17:10:01 +0000 >Subject: [PATCH] Bug 36197: Only add cardnumber info to request is a user is > logged in > >Signed-off-by: David Nind <david@davidnind.com> >--- > opac/opac-illrequests.pl | 6 ++---- > 1 file changed, 2 insertions(+), 4 deletions(-) > >diff --git a/opac/opac-illrequests.pl b/opac/opac-illrequests.pl >index 59d1216636..d5c6c9e75f 100755 >--- a/opac/opac-illrequests.pl >+++ b/opac/opac-illrequests.pl >@@ -167,10 +167,8 @@ if ( $op eq 'list' ) { > exit; > } > >- my $patron = Koha::Patrons->find( { borrowernumber => $loggedinuser } ); >- >- $params->{cardnumber} = $patron->cardnumber; >- $params->{branchcode} = $patron->branchcode; >+ $params->{cardnumber} = $patron->cardnumber if $patron; >+ $params->{branchcode} = $patron->branchcode if $patron; > $params->{opac} = 1; > $params->{lang} = C4::Languages::getlanguage($query); > my $backend_result = $request->backend_create($params); >-- >2.39.5
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 36197
:
171358
|
171359
|
171360
|
171361
|
171362
|
171363
|
171364
|
171365
|
171366
|
171367
|
171368
|
171369
|
171370
|
171371
|
174495
|
174496
|
174497
|
174498
|
174499
|
174500
|
174501
|
174502
|
174503
|
174504
|
174505
| 174506 |
174507
|
174508