Bug 31711: (bug 27421 follow-up) Fix add to basket from a new file
We lost the display of the "Add staged files to basket" link when create a new order from a new file Test plan: Add order to basket from a new file, select a file and import See the detail of the job and notice the "Add staged files to basket", click and confirm that it works as expected. Signed-off-by: Nick Clemens <nick@bywatersolutions.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
937b7114d0
commit
4907e96ba8
2 changed files with 4 additions and 2 deletions
|
@ -38,9 +38,9 @@
|
|||
<p>
|
||||
<a href="/cgi-bin/koha/tools/manage-marc-import.pl?import_batch_id=[% report.import_batch_id | uri %]">View batch</a>
|
||||
</p>
|
||||
[% IF report.basketno && report.booksellerid %]
|
||||
[% IF report.basket_id && report.vendor_id %]
|
||||
<p>
|
||||
<a id="addtobasket" class="btn btn-default" href="/cgi-bin/koha/acqui/addorderiso2709.pl?import_batch_id=[% report.import_batch_id | html %]&basketno=[% report.basketno | html %]&booksellerid=[% report.booksellerid | html %]">Add staged files to basket</a>
|
||||
<a id="addtobasket" class="btn btn-default" href="/cgi-bin/koha/acqui/addorderiso2709.pl?import_batch_id=[% report.import_batch_id | html %]&basketno=[% report.basket_id | html %]&booksellerid=[% report.vendor_id | html %]">Add staged files to basket</a>
|
||||
</p>
|
||||
[% END %]
|
||||
[% END %]
|
||||
|
|
|
@ -93,6 +93,8 @@ if ($fileID) {
|
|||
overlay_action => $overlay_action,
|
||||
nomatch_action => $nomatch_action,
|
||||
item_action => $item_action,
|
||||
basket_id => $basketno,
|
||||
vendor_id => $booksellerid,
|
||||
};
|
||||
try {
|
||||
my $job_id = Koha::BackgroundJob::StageMARCForImport->new->enqueue( $params );
|
||||
|
|
Loading…
Reference in a new issue