Bugzilla – Attachment 160622 Details for
Bug 35581
ILL Koha classes are not consistent
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35581: (QA follow-up): Update changes coming from bug 35331
Bug-35581-QA-follow-up-Update-changes-coming-from-.patch (text/plain), 2.13 KB, created by
Pedro Amorim
on 2024-01-08 12:22:25 UTC
(
hide
)
Description:
Bug 35581: (QA follow-up): Update changes coming from bug 35331
Filename:
MIME Type:
Creator:
Pedro Amorim
Created:
2024-01-08 12:22:25 UTC
Size:
2.13 KB
patch
obsolete
>From c82106eebbb941584030885d07cb6256c38a404b Mon Sep 17 00:00:00 2001 >From: Pedro Amorim <pedro.amorim@ptfs-europe.com> >Date: Mon, 8 Jan 2024 12:21:06 +0000 >Subject: [PATCH] Bug 35581: (QA follow-up): Update changes coming from bug > 35331 > >Test plan: >prove t/db_dependent/Koha/Plugins/Ill_hooks.t >--- > ill/ill-requests.pl | 2 +- > members/ill-requests.pl | 2 +- > t/db_dependent/Koha/Plugins/Ill_hooks.t | 2 +- > 3 files changed, 3 insertions(+), 3 deletions(-) > >diff --git a/ill/ill-requests.pl b/ill/ill-requests.pl >index 441357139b..a98663c7e9 100755 >--- a/ill/ill-requests.pl >+++ b/ill/ill-requests.pl >@@ -425,7 +425,7 @@ if ( $backends_available ) { > } > } > >- $template->param( table_actions => encode_json( Koha::Illrequest->get_staff_table_actions ) ); >+ $template->param( table_actions => encode_json( Koha::ILL::Request->get_staff_table_actions ) ); > } elsif ( $op eq "save_comment" ) { > die "Wrong CSRF token" unless Koha::Token->new->check_csrf({ > session_id => scalar $cgi->cookie('CGISESSID'), >diff --git a/members/ill-requests.pl b/members/ill-requests.pl >index d4573fabf3..8162abd6cb 100755 >--- a/members/ill-requests.pl >+++ b/members/ill-requests.pl >@@ -46,7 +46,7 @@ $template->param( > prefilters => "borrowernumber=$borrowernumber", > patron => $patron, > illview => 1, >- table_actions => encode_json( Koha::Illrequest->get_staff_table_actions ), >+ table_actions => encode_json( Koha::ILL::Request->get_staff_table_actions ), > ); > > output_html_with_http_headers $input, $cookie, $template->output; >diff --git a/t/db_dependent/Koha/Plugins/Ill_hooks.t b/t/db_dependent/Koha/Plugins/Ill_hooks.t >index 5abd6e6a56..eb1adcb2b9 100755 >--- a/t/db_dependent/Koha/Plugins/Ill_hooks.t >+++ b/t/db_dependent/Koha/Plugins/Ill_hooks.t >@@ -47,7 +47,7 @@ subtest 'ill_table_actions hook' => sub { > my $plugins = Koha::Plugins->new; > $plugins->InstallPlugins; > >- my $table_actions = Koha::Illrequest->get_staff_table_actions; >+ my $table_actions = Koha::ILL::Request->get_staff_table_actions; > > is_deeply( > $table_actions, >-- >2.30.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 35581
:
159863
|
159864
|
159865
|
159866
|
159867
|
159868
|
159869
|
159870
|
159871
|
159872
|
159873
|
160422
|
160423
|
160424
|
160425
|
160426
|
160427
|
160428
|
160429
|
160430
|
160431
|
160432
|
160620
|
160622
|
162020
|
162021
|
162022
|
162023
|
162024
|
162025
|
162026
|
162027
|
162028
|
162029
|
162030
|
162031
|
162032
|
162817
|
162818
|
162819
|
162820
|
162821
|
162822
|
162823
|
162824
|
162825
|
162826
|
162827
|
162828
|
162829
|
162880
|
162881
|
162882
|
162883
|
162884
|
162885
|
162886
|
162887
|
162888
|
162889
|
162890
|
162891
|
162892
|
163803
|
163804
|
163805
|
163806
|
163807
|
163808
|
163809
|
163810
|
163811
|
163812
|
163813
|
163814
|
163815
|
163816
|
164069
|
164070
|
164071
|
164072
|
164073
|
164074
|
164075
|
164076
|
164077
|
164078
|
164079
|
164080
|
164081
|
164082
|
165448