Created attachment 135537 [details] [review] Bug 30877: use List::MoreUtils::uniq from recalls_to_pull.pl Test plan: Confirm that "Recalls to pull" is still working correctly
Created attachment 135697 [details] [review] Bug 30877: use List::MoreUtils::uniq from recalls_to_pull.pl Test plan: Confirm that "Recalls to pull" is still working correctly Signed-off-by: David Nind <david@davidnind.com>
Testing notes using koha-testing-docker: 0. Applied bug 30876 so that the "Recalls to pull" page works. 1. Enable the UseRecalls system preference and set up recalls-related circulation rules. 2. Check out an item to Patron A where there are multiple items (I checked out an item for Intermediate Perl to Mary Burton). 3. Log into the OPAC as Patron B and search for the item (I used Henry Acevedo). 4. Place a recall on that item (I placed a record-level recall for Intermediate Perl). 5. Go back to the staff interface and check the item in. Confirm the recall as waiting for Patron B (Henry). 6. Access the "Recalls to pull" page (Circulation > Recalls) - this should work as expected (display the recall). 7. Apply patch, restart services, refresh the OPAC. 8. Confirm that the "Recalls to pull" page is still working correctly.
Added bug 30876 as a dependency, otherwise I could not test properly. Also added the new omnibus bug 29734 for recalls as well. Feel free to remove if this is not being used.
Code looks good, patch works, tests happy, passing QA
Pushed to master for 22.11. Nice work everyone, thanks!
Backported to 22.05.x for 22.05.03