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 <lucas@bywatersolutions.com> Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> (cherry picked from commit7063f2c476) Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com> (cherry picked from commite650254cf4) Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
This commit is contained in:
parent
cdd763d1df
commit
a3de3f1967
|
|
@ -217,7 +217,7 @@ foreach my $suggestion(@$suggestions_loop) {
|
|||
}
|
||||
}
|
||||
|
||||
my $patron_reason_loop = GetAuthorisedValues("OPAC_SUG");
|
||||
my $patron_reason_loop = GetAuthorisedValues("OPAC_SUG", "opac");
|
||||
|
||||
# Is the person allowed to choose their branch
|
||||
if ( C4::Context->preference("AllowPurchaseSuggestionBranchChoice") ) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue