| Summary: | SIP2 module does not notify that linked accounts are deleted when deleting an institution | ||
|---|---|---|---|
| Product: | Koha | Reporter: | Pedro Amorim <pedro.amorim> |
| Component: | SIP2 | Assignee: | Pedro Amorim <pedro.amorim> |
| Status: | Needs Signoff --- | QA Contact: | Testopia <testopia> |
| Severity: | enhancement | ||
| Priority: | P5 - low | CC: | dcook, kyle, martin.renvoize, pedro.amorim |
| Version: | Main | ||
| Hardware: | All | ||
| OS: | All | ||
| GIT URL: | Initiative type: | --- | |
| Sponsorship status: | --- | Comma delimited list of Sponsors: | |
| Crowdfunding goal: | 0 | Patch complexity: | Trivial patch |
| Documentation contact: | Documentation submission: | ||
| Text to go in the release notes: | Version(s) released in: | ||
| Circulation function: | |||
| Bug Depends on: | 37893 | ||
| Bug Blocks: | |||
| Attachments: |
Bug 41178: Fix accounts.getAll API client to be used for searching
Bug 41178: (VueJS framework): Add beforeDoResourceDelete method Bug 41178: (VueJS framework): Add i18n.deleteConfirmationBody |
||
|
Description
Pedro Amorim
2025-11-04 15:50:21 UTC
Created attachment 189034 [details] [review] Bug 41178: Fix accounts.getAll API client to be used for searching Created attachment 189035 [details] [review] Bug 41178: (VueJS framework): Add beforeDoResourceDelete method Created attachment 189036 [details] [review] Bug 41178: (VueJS framework): Add i18n.deleteConfirmationBody Otherwise, we're unable to override the contents of the delete dialog This and the previous patch allow fetching related accounts on the fly when attempting to delete an institutions. This allows to provide a message stating how many (or which) accounts will be deleted if the selected institution is deleted. The way its implemented applies for both deleting the resource from the list or from the 'show' page. If the institution does not have any associated accounts, the delete dialog's behavior is the same as it was before. |