Bugzilla – Attachment 171362 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: Add UNAUTH Standard request status
Bug-36197-Add-UNAUTH-Standard-request-status.patch (text/plain), 1.51 KB, created by
Pedro Amorim
on 2024-09-12 09:34:48 UTC
(
hide
)
Description:
Bug 36197: Add UNAUTH Standard request status
Filename:
MIME Type:
Creator:
Pedro Amorim
Created:
2024-09-12 09:34:48 UTC
Size:
1.51 KB
patch
obsolete
>From a98189edce585e9b1139e1404443777e26b4f265 Mon Sep 17 00:00:00 2001 >From: Pedro Amorim <pedro.amorim@ptfs-europe.com> >Date: Tue, 5 Mar 2024 17:01:34 +0000 >Subject: [PATCH] Bug 36197: Add UNAUTH Standard request status > >Assign this new UNAUTH status for unauthenticated requests > >Signed-off-by: David Nind <david@davidnind.com> >--- > Koha/ILL/Backend/Standard.pm | 12 ++++++++++-- > 1 file changed, 10 insertions(+), 2 deletions(-) > >diff --git a/Koha/ILL/Backend/Standard.pm b/Koha/ILL/Backend/Standard.pm >index 44a6c4cd4a..87b7ac5ff6 100644 >--- a/Koha/ILL/Backend/Standard.pm >+++ b/Koha/ILL/Backend/Standard.pm >@@ -185,7 +185,15 @@ sub status_graph { > next_actions => [], > ui_method_icon => 'fa-edit', > }, >- >+ UNAUTH => { >+ prev_actions => [], >+ id => 'UNAUTH', >+ name => 'Unauthenticated', >+ ui_method_name => 0, >+ method => 0, >+ next_actions => [ 'REQ', 'GENREQ', 'KILL' ], >+ ui_method_icon => 0, >+ }, > }; > } > >@@ -973,7 +981,7 @@ sub add_request { > $request->biblio_id($biblionumber) unless $biblionumber == 0; > $request->borrowernumber( $brw->borrowernumber ); > $request->branchcode( $params->{other}->{branchcode} ); >- $request->status('NEW'); >+ $request->status( $unauthenticated_request ? 'UNAUTH' : 'NEW'); > $request->backend( $params->{other}->{backend} ); > $request->placed( dt_from_string() ); > $request->updated( dt_from_string() ); >-- >2.39.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 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