To avoir further issue, it's better to explicitely list the fields we
want to retrieve.
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Mason James <mtj@kohaaloha.com>
my $invoice = $sth->fetchrow_hashref;
$query = q{
- SELECT aqorders.*, biblio.*, biblioitems.*, aqbasket.basketname
+ SELECT aqorders.*, biblio.*,
+ biblio.copyrightdate,
+ biblioitems.publishercode,
+ biblioitems.publicationyear,
+ aqbasket.basketname
FROM aqorders
LEFT JOIN aqbasket ON aqorders.basketno = aqbasket.basketno
LEFT JOIN biblio ON aqorders.biblionumber = biblio.biblionumber