Bugzilla – Attachment 139448 Details for
Bug 27421
Porting tools/stage-marc-import.pl to BackgroundJob
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27421: (QA follow-up) Include manage URL and item counts for import commit
Bug-27421-QA-follow-up-Include-manage-URL-and-item.patch (text/plain), 3.03 KB, created by
Marcel de Rooy
on 2022-08-19 08:00:10 UTC
(
hide
)
Description:
Bug 27421: (QA follow-up) Include manage URL and item counts for import commit
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2022-08-19 08:00:10 UTC
Size:
3.03 KB
patch
obsolete
>From affd900989a8070992fc7272a6c818fa1a358138 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Fri, 19 Aug 2022 07:16:22 +0000 >Subject: [PATCH] Bug 27421: (QA follow-up) Include manage URL and item counts > for import commit >Content-Type: text/plain; charset=utf-8 > >Test plan: >Run an stage and import. >Check import commit job. >Click to managed batch. > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > Koha/BackgroundJob/MARCImportCommitBatch.pm | 3 +- > .../marc_import_commit_batch.inc | 29 ++++++++++--------- > 2 files changed, 17 insertions(+), 15 deletions(-) > >diff --git a/Koha/BackgroundJob/MARCImportCommitBatch.pm b/Koha/BackgroundJob/MARCImportCommitBatch.pm >index 6cd5292023..57faa99c51 100644 >--- a/Koha/BackgroundJob/MARCImportCommitBatch.pm >+++ b/Koha/BackgroundJob/MARCImportCommitBatch.pm >@@ -86,7 +86,8 @@ sub process { > num_items_added => $num_items_added, > num_items_replaced => $num_items_replaced, > num_items_errored => $num_items_errored, >- num_ignored => $num_ignored >+ num_ignored => $num_ignored, >+ import_batch_id => $import_batch_id, > }; > my $data = $self->decoded_data; > $data->{messages} = \@messages; >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/background_jobs/marc_import_commit_batch.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/background_jobs/marc_import_commit_batch.inc >index ff32dbcc56..3d358f9b83 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/background_jobs/marc_import_commit_batch.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/background_jobs/marc_import_commit_batch.inc >@@ -17,21 +17,22 @@ > <td>Number of records ignored</td> > <td>[% report.num_ignored | html %]</td> > </tr> >- [% IF ( report.record_type == 'biblio' ) %] >- <tr> >- <td>Number of items added</td> >- <td>[% report.num_items_added | html %]</td> >- </tr> >- <tr> >- <td>Number of items replaced</td> >- <td>[% report.num_items_replaced | html %]</td> >- </tr> >- <tr> >- <td>Number of items ignored because of duplicate barcode</td> >- <td>[% report.num_items_errored | html %]</td> >- </tr> >- [% END %] >+ <tr> >+ <td>Number of items added</td> >+ <td>[% report.num_items_added | html %]</td> >+ </tr> >+ <tr> >+ <td>Number of items replaced</td> >+ <td>[% report.num_items_replaced | html %]</td> >+ </tr> >+ <tr> >+ <td>Number of items ignored</td> >+ <td>[% report.num_items_errored | html %]</td> >+ </tr> > </table> >+ <p> >+ <a href="/cgi-bin/koha/tools/manage-marc-import.pl?import_batch_id=[% report.import_batch_id | url %]">Manage imported batch</a> >+ </p> > [% END %] > [% END %] > >-- >2.20.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 27421
:
136127
|
136128
|
136129
|
136216
|
136217
|
136338
|
136339
|
138642
|
138643
|
138656
|
138657
|
138660
|
138881
|
139384
|
139385
|
139386
|
139387
|
139388
|
139448
|
139449
|
139450
|
139797
|
140205
|
140206
|
140207
|
140208
|
140223
|
140224
|
140225
|
140226
|
140227
|
140228
|
140229
|
140230
|
140231
|
140232
|
140233
|
140234
|
140759