Bug 26187

Summary: Allow deletion of guarantor and guarantee in one action
Product: Koha Reporter: Andrew Fuerste-Henry <andrew>
Component: ToolsAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low    
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Andrew Fuerste-Henry 2020-08-10 13:46:46 UTC
When batch deleting patrons, one is prevented from deleting any patron who is the guarantor to another patron. However, this leads to a frustrating workflow when attempting to delete both the guarantee and the guarantor in one batch.

To recreate:
- Create an adult patron
- Create a child patron with your adult as their guarantor
- Put both patrons in a list
- Attempt to batch delete the list
- Only the child is deleted
- Attempt to delete the list again
- The guarantor is deleted 

It'd be nice if a guarantor would delete successfully if the batch is also removing all of their guarantees.