Bug 21048: Fix display of suggestion's status (SUGGEST_STATUS)
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 11 Jul 2018 21:23:49 +0000 (18:23 -0300)
committerNick Clemens <nick@bywatersolutions.com>
Wed, 8 Aug 2018 20:58:23 +0000 (20:58 +0000)
commitb25c063f950076234cf7bb4a496921983a7cc23f
treea64c616b50f38c50bfd0527ac1805b7e65a2d414
parent4b9021895a46bda5234cd6c852f339ba7cd4d882
Bug 21048: Fix display of suggestion's status (SUGGEST_STATUS)

When a suggestion's status is set to a customized value (AV
SUGGEST_STATUS), the description is not always displayed correctly.

Test plan:
- Create different values for the AV SUGGEST_STATUS
- Create several suggestions
- Change the status using the SUGGEST_STATUS values
- Edit the suggestion and change again the status
- View the suggestions for a given patron
(members/purchase-suggestions.pl?borrowernumber=XX), the statuses must
displayed correctly

Signed-off-by: Lisette Scheer <lisetteslatah@gmail.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/members/purchase-suggestions.tt
koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt