Bug 12059: Prefer to list fields in the query
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>
This commit is contained in:
parent
f9c17a4ef6
commit
f23b44887d
|
|
@ -2734,7 +2734,11 @@ sub GetInvoiceDetails {
|
|||
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
|
||||
|
|
|
|||
Loading…
Reference in New Issue