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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 30 Dec 2020 14:39:32 +0000 (15:39 +0100)
commite650254cf4cb8750f21f13ec49964ac025dbe823
treefeee0c90d491fdf540f45ffb5758780e37f533e3
parenta91ca451224aac8435aa3c3ff2ef3f2415093466
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 commit 7063f2c4763d7fec870a4c326837b8b64e64004f)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
opac/opac-suggestions.pl