Bugzilla – Attachment 139243 Details for
Bug 26632
BatchStageMarcRecords passes a random number to AddBiblioToBatch / AddAuthToBatch
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 26632: Remove two more occurrences
Bug-26632-Remove-two-more-occurrences.patch (text/plain), 1.69 KB, created by
Jonathan Druart
on 2022-08-17 09:11:35 UTC
(
hide
)
Description:
Bug 26632: Remove two more occurrences
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2022-08-17 09:11:35 UTC
Size:
1.69 KB
patch
obsolete
>From be3ebb1eeb9c88fdc4c18a742bfb7d3131d69583 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Mon, 16 May 2022 19:37:59 +0000 >Subject: [PATCH] Bug 26632: Remove two more occurrences > >Signed-off-by: Andrew Fuerste-Henry <andrewfh@dubcolib.org> > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > svc/import_bib | 2 +- > t/db_dependent/ImportBatch.t | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/svc/import_bib b/svc/import_bib >index 47f5c455b94..ce46454b20b 100755 >--- a/svc/import_bib >+++ b/svc/import_bib >@@ -80,7 +80,7 @@ sub import_bib { > return $result; > } > >- my $import_record_id = AddBiblioToBatch($batch_id, 0, $marc_record, "utf8", int(rand(99999))); >+ my $import_record_id = AddBiblioToBatch($batch_id, 0, $marc_record, "utf8", 1); > my @import_items_ids = AddItemsToImportBiblio($batch_id, $import_record_id, $marc_record, 'UPDATE COUNTS'); > > my $matcher = C4::Matcher->new($params->{record_type} || 'biblio'); >diff --git a/t/db_dependent/ImportBatch.t b/t/db_dependent/ImportBatch.t >index 0442d4d034a..c1b166f83bc 100755 >--- a/t/db_dependent/ImportBatch.t >+++ b/t/db_dependent/ImportBatch.t >@@ -158,7 +158,7 @@ if (C4::Context->preference('marcflavour') eq 'UNIMARC') { > } > $record->append_fields(@fields); > $original_record->append_fields(@fields); >-my $import_record_id = AddBiblioToBatch( $id_import_batch1, 0, $record, 'utf8', int(rand(99999)), 0 ); >+my $import_record_id = AddBiblioToBatch( $id_import_batch1, 0, $record, 'utf8', 0 ); > AddItemsToImportBiblio( $id_import_batch1, $import_record_id, $record, 0 ); > > my $import_record = Koha::Import::Records->find($import_record_id); >-- >2.25.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 26632
:
135047
|
135048
|
138612
|
138613
|
139242
| 139243