Koha/koha-tmpl/intranet-tmpl/prog/en
Emmi 07af7b228f
Bug 23219: Cancel patrons holds when patron delete
Currently deleting a patron deletes all their holds and leaves
no record to the "old_reserves" table.

 Steps to reproduce:
- Create a patron
- Add holds for patron
- Holds are recorded to "reserves" table
- Delete patron
- Confirm delete
=>Patron and all holds are deleted and no record of holds is
left in "old_reserves" table

This patch displays alert text notifying user that deleting patron
cancels all their holds. Holds are cancelled instead of deleting them.
This patch also writes stringified datetime to holds cancel log instead
of whole datetime object.

To test:
- Apply this patch
- Create a patron
- Add holds for patron
- Holds are recorded to "reserves" table
- Delete patron
- Alert text of holds is displayed
- Confirm patron delete
=> Patron is deleted, their holds are cancelled and moved to
"old_reserves" table

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Nadine Pierre <nadine.pierre@inLibro.com>
Signed-off-by: Arthur Bousquet <arthur.bousquet@inlibro.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2019-07-15 12:48:36 +01:00
..
data Bug 19648: Revise marc21_field_007.xml 2019-04-12 01:47:51 +00:00
includes Bug 11642: (follow-up) Improve Batch patron deletion and anonymization GUI to make consequences clearer 2019-07-15 12:43:03 +01:00
modules Bug 23219: Cancel patrons holds when patron delete 2019-07-15 12:48:36 +01:00
xslt Bug 20364: Show languages from MARC21 field 041 in intranet 2019-07-15 11:28:07 +01:00
columns.def Bug 19919: Stop using paidfor altogether 2019-07-15 11:28:05 +01:00