Bug 27421: (QA follow-up) Include manage URL and item counts for import commit
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> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
848813bccf
commit
7b355ee54b
2 changed files with 17 additions and 15 deletions
|
@ -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;
|
||||
|
|
|
@ -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 %]
|
||||
|
||||
|
|
Loading…
Reference in a new issue