projects
/
koha.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
28f5eb2
)
Bug 8329 - GetLostItems in C4::Items.pm has a SELECT * Provided a smaller list based...
author
Mark Tompsett
<mtompset@hotmail.com>
Fri, 29 Jun 2012 14:40:24 +0000
(22:40 +0800)
committer
Paul Poulain
<paul.poulain@biblibre.com>
Wed, 29 Aug 2012 13:34:01 +0000
(15:34 +0200)
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
C4/Items.pm
patch
|
blob
|
history
diff --git
a/C4/Items.pm
b/C4/Items.pm
index
a9c0a16
..
e9af3dd
100644
(file)
--- a/
C4/Items.pm
+++ b/
C4/Items.pm
@@
-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)