In a biblio record checkout history, when a checkout is anonymized the patron id has been replaced by anonymous patron id. In this case we should not show anonymous patron link. It looks like a real patron did this checkout.
Also see Bug 34910 for more anonymous related
Created attachment 156724 [details] [review] Bug 35010: In record checkout history do not show anonymous patron link In a biblio record checkout history, when a checkout is anonymized the patron id has been replaced by anonymous patron id. In this case we should not show anonymous patron link. It looks like a real patron did this checkout. Test plan : 1) Set an existing patron id in system preference 'AnonymousPatron' 2) Perform anonymisation on old checkouts (or edit database manually) 3) Look at a record checkout history with old checkouts => You see 'Anonymized' for anonymized checkouts 4) Set system preference 'AnonymousPatron' empty 5) Look at same record checkout history => Check no error
Created attachment 156729 [details] [review] Bug 35010: In record checkout history do not show anonymous patron link In a biblio record checkout history, when a checkout is anonymized the patron id has been replaced by anonymous patron id. In this case we should not show anonymous patron link. It looks like a real patron did this checkout. Test plan : 1) Set an existing patron id in system preference 'AnonymousPatron' 2) Perform anonymisation on old checkouts (or edit database manually) 3) Look at a record checkout history with old checkouts => You see 'Anonymized' for anonymized checkouts 4) Set system preference 'AnonymousPatron' empty 5) Look at same record checkout history => Check no error Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Created attachment 156760 [details] [review] Bug 35010: In record checkout history do not show anonymous patron link In a biblio record checkout history, when a checkout is anonymized the patron id has been replaced by anonymous patron id. In this case we should not show anonymous patron link. It looks like a real patron did this checkout. Test plan : 1) Set an existing patron id in system preference 'AnonymousPatron' 2) Perform anonymisation on old checkouts (or edit database manually) 3) Look at a record checkout history with old checkouts => You see 'Anonymized' for anonymized checkouts 4) Set system preference 'AnonymousPatron' empty 5) Look at same record checkout history => Check no error Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Pushed to master for 23.11. Nice work everyone, thanks!
Pushed to 23.05.x for 23.05.05
*** Bug 32410 has been marked as a duplicate of this bug. ***
Nice work everyone! Pushed to oldstable for 22.11.x