]> git.koha-community.org Git - koha.git/commit
Bug 25751: Add ORDERED in dropdown list of suggestion's statuses
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 16 Jun 2020 13:44:40 +0000 (15:44 +0200)
committerLucas Gass <lucas@bywatersolutions.com>
Fri, 4 Sep 2020 14:08:14 +0000 (14:08 +0000)
commitc320dfa3beef2bce10e87572ee9dd7f6849a694f
treeaaa8885c7a9c8192baeab4dd6fa9d441364a6370
parent3bbf6384492834055d38ac844521be6c02d503ab
Bug 25751: Add ORDERED in dropdown list of suggestion's statuses

The status "ORDERED" is missing from the pull down list of
status values when editing a suggestion, so the first
option is selected "No status".

This leads to data loss when editing a suggestion in the
status "ORDERED". Worse: the status can't be reset to
"ORDERED" and so no AVAILABLE notice can be sent to the patron.

Test plan:
- Create a suggestion, accept it, create a new order from this suggestion.
- Verify status is "ORDERED"
- Edit the suggestion
=> Without this patch the dropdown list does not have
   "Ordered", and if you save you lost the status
=> With this patch applied the dropdown list has "Ordered"
   preselected. You can save and preserve the status.

Signed-off-by: Holly Cooper <hc@interleaf.ie>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit eeb7ac6fc0d14c9e731b7759c78f37cadcfa575f)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt