Bug 14598 [QA Followup] - Update localuse statistics also
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
parent
ad800ce36e
commit
c042307db3
|
|
@ -13351,7 +13351,7 @@ if ( CheckVersion($DBversion) ) {
|
|||
SELECT s.itemnumber, i.itype, b.itemtype FROM
|
||||
( SELECT DISTINCT itemnumber
|
||||
FROM statistics
|
||||
WHERE type="return" AND itemtype IS NULL ) s
|
||||
WHERE ( type = "return" OR type = "localuse" ) AND itemtype IS NULL ) s
|
||||
LEFT JOIN
|
||||
( SELECT itemnumber,biblionumber, itype
|
||||
FROM items ) i
|
||||
|
|
|
|||
Loading…
Reference in New Issue