A Offline Circulation file that contains returned items does not anonymize those returns if the sys pref is set to anonymize.
Created attachment 9294 [details] [review]
Bug 8006 - Loading offline circulation does not anonymize
Simple, one line fix. Added the privacy parameter to the list
of parameters passed to C4::Circulation::MarkIssueReturned.
Sys prefs were set as follows:
opac/annonymous patron = (borrower number)
opac/opacprivacy = Allow
opac/opacreadinghistory = Allow
patrons/intranetreadinghistory = Allow
In the OPAC, at the MyPrivacy tab, the parameter was set to 'Never'
On upload and processing of the file, the name of the book and the name of the patron were displayed. However this is the same as in normal circulation. This may require further consideration?
On checking the Circulation History tab of the patron's record in the staff client, the system displays 'This patron has no circulation history.' This is what I understand to have been the objective of the patch.
Simple fix to add another value to exported params. Marking Passed QA.
patch pushed (untested, but very simple patch, trusting signoffer)
Pushed to 3.8.x, will be in 3.8.3