From acbffaca6396167f4f3f1a338b6dbcc0c2535cd9 Mon Sep 17 00:00:00 2001 From: David Roberts Date: Mon, 4 May 2020 19:43:32 +0000 Subject: [PATCH] Bug 25130: Reason for accepting/rejecting a suggestion is not visible when viewing (not editing) The patch adds the suggestion management reason to the display when viewing a suggestion. To test: 1) Edit a suggestion and assign a reason for accepting it. 2) View the suggestion (/cgi-bin/koha/suggestion/suggestion.pl?suggestionid=XX&op=show, replacing XX with your suggestion ID) 3) Under suggestion management, the reason you've just assigned does not display. 4) Apply the patch 5) Check the display again - the Reason should now be visible directly under the status. Signed-off-by: Abbey Holt --- koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt | 6 ++++++ 1 file changed, 6 insertions(+) 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 0882b2c69b..313460fa0f 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt @@ -162,6 +162,12 @@
  • + Reason: + [% IF ( reason ) %] + [% AuthorisedValues.GetByCode( 'SUGGEST', reason, 0 ) | html %] + [% END %] +
  • +
  • -- 2.11.0
     DateBy