From 95ec28a2ada8aad4d6e627b91890eab4314aa25e Mon Sep 17 00:00:00 2001 From: Andrii Veremeienko Date: Sat, 9 Oct 2021 14:32:13 +0300 Subject: [PATCH] Bug 23479: Hold cancellation confirmation too generic MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Solution was to specify patron's name in format " ()" and biblio's title in the hold cancellation message. e.g.: "Are you sure you want to cancel hold of Охрана окружающей среды в републике Беларусь for John Doe (12)?" How to test: 1. Go to the item search; 2. Search for the book you want to place hold for; 3. Select existing patron to place hold for him; 4. Place hold; 5. Go to koha/reserve/request.pl; 6. Click on "Cancel hold" button for hold from the list (red X icon on the grid); 7. Observe that text displayed on cancellation modal window contains patron's name and biblio's title; Signed-off-by: David Nind --- koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc | 7 ++++++- koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt | 7 ++++++- reserve/request.pl | 1 + 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc index 516b04f322..2bc30c7a54 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc @@ -190,7 +190,12 @@ [%- END -%] [%- END -%] - + Cancel diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt index 14cc35a319..8dcb0c02bc 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt @@ -1043,7 +1043,7 @@