Bug 27230: Display OPAC description for OPAC_SUG
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 14 Dec 2020 13:51:17 +0000 (14:51 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Sat, 26 Dec 2020 17:14:11 +0000 (18:14 +0100)
commit7063f2c4763d7fec870a4c326837b8b64e64004f
tree312b9face85fb3196a969e10d73794fc2eba7d15
parent6a461382ba944a8e9f4a7c4e534dca74745f0f55
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>
opac/opac-suggestions.pl