Bugzilla – Attachment 138131 Details for
Bug 31223
Batch edit items explodes if plugins disabled
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 31223: Do not try to report results if task not started
Bug-31223-Do-not-try-to-report-results-if-task-not.patch (text/plain), 1023 bytes, created by
Tomás Cohen Arazi (tcohen)
on 2022-07-26 13:51:55 UTC
(
hide
)
Description:
Bug 31223: Do not try to report results if task not started
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2022-07-26 13:51:55 UTC
Size:
1023 bytes
patch
obsolete
>From 8d8066afc7449a4dcecbcda15e6179ae9829a0f2 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Tue, 26 Jul 2022 10:12:05 -0300 >Subject: [PATCH] Bug 31223: Do not try to report results if task not started > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > Koha/BackgroundJob/BatchUpdateItem.pm | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/Koha/BackgroundJob/BatchUpdateItem.pm b/Koha/BackgroundJob/BatchUpdateItem.pm >index d01aed7f39b..d12c08497c7 100644 >--- a/Koha/BackgroundJob/BatchUpdateItem.pm >+++ b/Koha/BackgroundJob/BatchUpdateItem.pm >@@ -171,6 +171,8 @@ Sent the infos to generate the table containing the details of the modified item > sub additional_report { > my ( $self, $args ) = @_; > >+ return unless $self->report->{modified_itemnumbers}; >+ > my $itemnumbers = $self->report->{modified_itemnumbers}; > if ( scalar(@$itemnumbers) > C4::Context->preference('MaxItemsToDisplayForBatchMod') ) { > return { too_many_items_display => 1 }; >-- >2.34.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 31223
:
138126
|
138127
|
138128
|
138129
|
138130
|
138131
|
138142
|
138143
|
138144
|
138390
|
138391