From 62b5299490cb4498989034c85a8d8d9a1467b075 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 21 Oct 2019 18:06:07 +0200 Subject: [PATCH] Bug 23594: Batch modification for itemtypes on suggestions page This new enhancement adds the ability to update the item types for selected suggestions on the suggestions management page (suggestion/suggestion.pl) To achieve this goal we needed to refresh a bit the template, in order to get rid of weird code. To not recreate the previous coding awkwardness some code has been rewritten (mainly the removal of suggestiontype) Test plan: - Create some suggestions - On the suggestions management page, select some of them and a new item types. - Submit the form and confirm that the itemtype of the suggestions has been updated - Also you should confirm that the "delete" and "change status" still work as before --- .../prog/en/modules/suggestion/suggestion.tt | 223 +++++++++++---------- suggestion/suggestion.pl | 17 +- 2 files changed, 124 insertions(+), 116 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt index 3c5d366dea..6c4935a48d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt @@ -55,7 +55,7 @@
Edit - Delete + Delete
@@ -439,7 +439,7 @@