bugfix : we need to give the booksellerid to the biblio search
authorPaul POULAIN <paul@koha-fr.org>
Mon, 19 Nov 2007 17:55:27 +0000 (18:55 +0100)
committerJoshua Ferraro <jmf@liblime.com>
Tue, 20 Nov 2007 22:23:24 +0000 (16:23 -0600)
(otherwise, it will be empty, and a constraint will fail, making the input fail as well)

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
acqui/neworderbiblio.pl

index b5cabfd..d38dd6b 100755 (executable)
@@ -110,6 +110,7 @@ for(my $i=0;$i<$hits;$i++) {
     #build the hash for the template.
     %resultsloop=%$biblio;
     $resultsloop{highlight}       = ($i % 2)?(1):(0);
+    $resultsloop{booksellerid} = $booksellerid;
 
     push @results, \%resultsloop;
 }