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)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 9 Aug 2018 10:20:08 +0000 (11:20 +0100)
commite81fdb07c68fb80bc497190dfd2dd15f24491447
tree5e03bfcbf5fdddb7f911b192b4a808bb32e53145
parent8395187a9822dae95b85b876a143b867acc7fb33
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>
(cherry picked from commit b25c063f950076234cf7bb4a496921983a7cc23f)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/en/modules/members/purchase-suggestions.tt
koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt