[Koha-bugs] [Bug 16122] Item record needs to keep Local Use count

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jun 28 23:18:35 CEST 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16122

--- Comment #35 from Lucas Gass <lucas at bywatersolutions.com> ---
(In reply to Emily Lamancusa from comment #32)
> Lucas, can you provide a test plan for that last patch? If so I'd be happy
> to sign off.

To test:
1. Without the patch, have RecordLocalUseOnReturn on.
2. Check in some items to record localuse in the stats table. Keep note of
those stats.
3. Apply the patches, updatedatabase.
4. Run the maintenance script, perl update_localuse_from_statistics.pl
5. Now check that items.localuse is congruent with what is in the stats table 

Using this report can help:

SELECT COUNT( IF( statistics.type = 'localuse', statistics.itemnumber, NULL ) )
 AS 'local use count'
FROM statistics
WHERE statistics.itemnumber=<<itemnumber>>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list