Bugzilla – Attachment 150641 Details for
Bug 27542
It should be possible to cancel an ILL request sent to a partner
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27542: Allow cancellation of partner ILL
Bug-27542-Allow-cancellation-of-partner-ILL.patch (text/plain), 2.22 KB, created by
Martin Renvoize (ashimema)
on 2023-05-04 10:38:54 UTC
(
hide
)
Description:
Bug 27542: Allow cancellation of partner ILL
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2023-05-04 10:38:54 UTC
Size:
2.22 KB
patch
obsolete
>From 560f4415516c30ae754c7991d6ed4fd4fdab13ee Mon Sep 17 00:00:00 2001 >From: Andrew Isherwood <andrew.isherwood@ptfs-europe.com> >Date: Mon, 25 Jan 2021 11:18:29 +0000 >Subject: [PATCH] Bug 27542: Allow cancellation of partner ILL > >This commit enables the display of the "Revert request" button when a >request's status is GENREQ / "Requested from partners" > >The relevant unit test has also been updated > >Rescued-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Signed-off-by: Stephen Graham <s.graham4@herts.ac.uk> >--- > Koha/Illrequest.pm | 4 ++-- > t/db_dependent/Illrequests.t | 4 ++-- > 2 files changed, 4 insertions(+), 4 deletions(-) > >diff --git a/Koha/Illrequest.pm b/Koha/Illrequest.pm >index d160c152b8..5b4a44baac 100644 >--- a/Koha/Illrequest.pm >+++ b/Koha/Illrequest.pm >@@ -478,11 +478,11 @@ sub _core_status_graph { > name => 'Requested from partners', > ui_method_name => 'Place request with partners', > method => 'generic_confirm', >- next_actions => [ 'COMP', 'CHK' ], >+ next_actions => [ 'COMP', 'CHK', 'REQREV' ], > ui_method_icon => 'fa-send-o', > }, > REQREV => { >- prev_actions => [ 'REQ' ], >+ prev_actions => [ 'REQ', 'GENREQ' ], > id => 'REQREV', > name => 'Request reverted', > ui_method_name => 'Revert Request', >diff --git a/t/db_dependent/Illrequests.t b/t/db_dependent/Illrequests.t >index 65c1bc6fa5..2124561a1c 100755 >--- a/t/db_dependent/Illrequests.t >+++ b/t/db_dependent/Illrequests.t >@@ -359,11 +359,11 @@ subtest 'Status Graph tests' => sub { > name => 'Requested from partners', > ui_method_name => 'Place request with partners', > method => 'generic_confirm', >- next_actions => [ 'COMP', 'CHK' ], >+ next_actions => [ 'COMP', 'CHK', 'REQREV' ], > ui_method_icon => 'fa-send-o', > }, > REQREV => { >- prev_actions => [ 'REQ' ], >+ prev_actions => [ 'REQ', 'GENREQ' ], > id => 'REQREV', > name => 'Request reverted', > ui_method_name => 'Revert Request', >-- >2.40.1
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 27542
:
115741
|
147897
|
147898
|
147899
|
150641
|
150642
|
150643
|
151458
|
151459
|
151460