Bug 20893: batchRebuildItemsTables.pl has incorrect parameter
To test: 1 - run batchRebuildItemsTables.pl with a valid biblionumber perl /usr/share/koha/bin/batchRebuildItemsTables.pl --where biblio.biblionumber=38483 -c 2 - Note it says 'undefined biblionumber 3 - Apply patch 4 - Do it again 5 - It works! Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Julian Maurice <julian.maurice@biblibre.com> Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
This commit is contained in:
parent
1a01c62f9d
commit
b4468f0987
|
|
@ -69,7 +69,7 @@ while ( my ( $biblionumber, $biblioitemnumber, $frameworkcode ) = $sth->fetchrow
|
|||
$count++;
|
||||
warn $count unless $count % 1000;
|
||||
my $record = GetMarcBiblio({
|
||||
biblionummber => $biblionumber,
|
||||
biblionumber => $biblionumber,
|
||||
embed_items => 1 });
|
||||
unless ($record) { push @errors, "bad record biblionumber $biblionumber"; next; }
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue