Bug 8329 - GetLostItems in C4::Items.pm has a SELECT * Provided a smaller list based on reports/itemlost.tt
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
This commit is contained in:
parent
28f5eb2663
commit
00437c6bf2
1 changed files with 2 additions and 1 deletions
|
@ -936,7 +936,8 @@ sub GetLostItems {
|
|||
my $dbh = C4::Context->dbh;
|
||||
|
||||
my $query = "
|
||||
SELECT *
|
||||
SELECT title, author, lib, itemlost, authorised_value, barcode, datelastseen, price, replacementprice, homebranch,
|
||||
itype, itemtype, holdingbranch, location, itemnotes, items.biblionumber as biblionumber
|
||||
FROM items
|
||||
LEFT JOIN biblio ON (items.biblionumber = biblio.biblionumber)
|
||||
LEFT JOIN biblioitems ON (items.biblionumber = biblioitems.biblionumber)
|
||||
|
|
Loading…
Reference in a new issue