Bugzilla – Attachment 63729 Details for
Bug 18611
Create labels action fails in manage-marc-import.pl if an item has been deleted from the import batch
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18611 - Followup, remove tabs to make qa tools happy
Bug-18611---Followup-remove-tabs-to-make-qa-tools-.patch (text/plain), 1.85 KB, created by
Marcel de Rooy
on 2017-05-26 08:27:32 UTC
(
hide
)
Description:
Bug 18611 - Followup, remove tabs to make qa tools happy
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2017-05-26 08:27:32 UTC
Size:
1.85 KB
patch
obsolete
>From fc2f333d6029ddbde5a1512688ef344b6a04bac7 Mon Sep 17 00:00:00 2001 >From: Josef Moravec <josef.moravec@gmail.com> >Date: Tue, 23 May 2017 11:03:04 +0000 >Subject: [PATCH] Bug 18611 - Followup, remove tabs to make qa tools happy >Content-Type: text/plain; charset=utf-8 > >Signed-off-by: Josef Moravec <josef.moravec@gmail.com> > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > C4/ImportBatch.pm | 20 ++++++++++---------- > 1 file changed, 10 insertions(+), 10 deletions(-) > >diff --git a/C4/ImportBatch.pm b/C4/ImportBatch.pm >index f78299d..4ac5618 100644 >--- a/C4/ImportBatch.pm >+++ b/C4/ImportBatch.pm >@@ -1057,18 +1057,18 @@ sub GetImportBatchRangeDesc { > =cut > > sub GetItemNumbersFromImportBatch { >- my ($batch_id) = @_; >- my $dbh = C4::Context->dbh; >- my $sth = $dbh->prepare("SELECT items.itemnumber FROM import_batches,import_records,import_items, items WHERE import_batches.import_batch_id=import_records.import_batch_id AND import_records.import_record_id=import_items.import_record_id AND items.itemnumber=import_items.itemnumber AND import_batches.import_batch_id=?"); >- $sth->execute($batch_id); >- my @items ; >- while ( my ($itm) = $sth->fetchrow_array ) { >- push @items, $itm; >- } >- return @items; >+ my ($batch_id) = @_; >+ my $dbh = C4::Context->dbh; >+ my $sth = $dbh->prepare("SELECT items.itemnumber FROM import_batches,import_records,import_items, items WHERE import_batches.import_batch_id=import_records.import_batch_id AND import_records.import_record_id=import_items.import_record_id AND items.itemnumber=import_items.itemnumber AND import_batches.import_batch_id=?"); >+ $sth->execute($batch_id); >+ my @items ; >+ while ( my ($itm) = $sth->fetchrow_array ) { >+ push @items, $itm; >+ } >+ return @items; > } > >-=head2 GetNumberOfImportBatches >+=head2 GetNumberOfImportBatches > > my $count = GetNumberOfImportBatches(); > >-- >2.1.4
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 18611
:
63483
|
63667
|
63668
|
63669
|
63728
| 63729 |
63730
|
63731