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: Mason James <mtj@kohaaloha.com>
This commit is contained in:
Kyle M Hall 2016-01-19 14:34:20 +00:00 committed by Mason James
parent cdfabce1b8
commit 192cd46512
1 changed files with 1 additions and 1 deletions

View File

@ -12826,7 +12826,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