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:
Kyle M Hall 2016-01-19 14:34:20 +00:00
parent ad800ce36e
commit c042307db3
1 changed files with 1 additions and 1 deletions

View File

@ -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