Bugzilla – Attachment 135048 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.57 KB, created by
Nick Clemens
on 2022-05-16 19:38:19 UTC
(
hide
)
Description:
Bug 26632: Remove two more occurrences
Filename:
MIME Type:
Creator:
Nick Clemens
Created:
2022-05-16 19:38:19 UTC
Size:
1.57 KB
patch
obsolete
>From 1f5d700a603217de7b5d587aa26066d2c260e260 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 > >--- > 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 7548c398ab..00b43d18f5 100755 >--- a/t/db_dependent/ImportBatch.t >+++ b/t/db_dependent/ImportBatch.t >@@ -122,7 +122,7 @@ my @fields = ( > ); > $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 $record_from_import_biblio_with_items = C4::ImportBatch::GetRecordFromImportBiblio( $import_record_id, 'embed_items' ); >-- >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