From 854c71df7914b1539e9c3af8b65096d607ea5595 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 Signed-off-by: Katrin Fischer Signed-off-by: Martin Renvoize Signed-off-by: Joy Nelson --- .../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 b1de15a740..3204d51ed7 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt @@ -157,6 +157,12 @@ [% END %] +
  • + Reason: + [% IF ( reason ) %] + [% AuthorisedValues.GetByCode( 'SUGGEST', reason, 0 ) | html %] + [% END %] +
  • -- 2.39.5
     DateBy