From 7063f2c4763d7fec870a4c326837b8b64e64004f Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 14 Dec 2020 14:51:17 +0100 Subject: [PATCH] Bug 27230: Display OPAC description for OPAC_SUG The authorised values OPAC_SUG displayed at the OPAC show the staff description. Test plan: 1. Create an auth value in opac_sug, with different text for the description and OPAC description. 2. Go to the OPAC and open the purchase suggestion form. 3. Note in the Reason for purchase drop down, the descriptions appear, the text entered in the OPAC description field. Signed-off-by: Lucas Gass Signed-off-by: Victor Grousset/tuxayo Signed-off-by: Jonathan Druart --- opac/opac-suggestions.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opac/opac-suggestions.pl b/opac/opac-suggestions.pl index 2c7dbfb7c7..77e0fcedb8 100755 --- a/opac/opac-suggestions.pl +++ b/opac/opac-suggestions.pl @@ -217,7 +217,7 @@ foreach my $suggestion(@$suggestions_loop) { } } -my $patron_reason_loop = GetAuthorisedValues("OPAC_SUG"); +my $patron_reason_loop = GetAuthorisedValues("OPAC_SUG", "opac"); my @mandatoryfields; { -- 2.39.5