Bugzilla – Attachment 138613 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.61 KB, created by
ByWater Sandboxes
on 2022-08-04 20:26:52 UTC
(
hide
)
Description:
Bug 26632: Remove two more occurrences
Filename:
MIME Type:
Creator:
ByWater Sandboxes
Created:
2022-08-04 20:26:52 UTC
Size:
1.61 KB
patch
obsolete
>From 98f3affb5b5441d05a0d27799443ca3e65c2b29f 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> >--- > 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 47f5c455b9..ce46454b20 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 0442d4d034..c1b166f83b 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.30.2
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