For reasons unknown, it is possible to get into a situation where an item is both checked out to one patron and associated with a found hold for another patron. We should add a script to Koha to fix items in this situation by reverting the found holds.
Created attachment 191978 [details] [review] Bug 41698 - Add maintenance script to revert found holds for items currently checked out For reasons unknown, it is possible to get into a situation where an item is both checked out to one patron and associated with a found hold for another patron. We should add a script to Koha to fix items in this situation by reverting the found holds. Test Plan: 1) Check an item out to a patron 2) Place an item specific hold for another patron 3) Manually set the priority to 0 and found to "W" for that hold 4) Run misc/maintenance/fix_holds_waiting_and_issued.pl 5) Note the hold has been reverted!
Created attachment 191979 [details] [review] Bug 41698 - Add maintenance script to revert found holds for items currently checked out For reasons unknown, it is possible to get into a situation where an item is both checked out to one patron and associated with a found hold for another patron. We should add a script to Koha to fix items in this situation by reverting the found holds. Test Plan: 1) Check an item out to a patron 2) Place an item specific hold for another patron 3) Manually set the priority to 0 and found to "W" for that hold 4) Run misc/maintenance/fix_holds_waiting_and_issued.pl 5) Note the hold has been reverted!
Created attachment 191980 [details] [review] Bug 41698: Add maintenance script to revert found holds for items currently checked out For reasons unknown, it is possible to get into a situation where an item is both checked out to one patron and associated with a found hold for another patron. We should add a script to Koha to fix items in this situation by reverting the found holds. Test Plan: 1) Check an item out to a patron 2) Place an item specific hold for another patron 3) Manually set the priority to 0 and found to "W" for that hold 4) Run misc/maintenance/fix_holds_waiting_and_issued.pl 5) Note the hold has been reverted!