Bug 21048: (QA follow-up) Fix authorized value statuses in filter
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Fri, 27 Jul 2018 07:42:06 +0000 (09:42 +0200)
committerNick Clemens <nick@bywatersolutions.com>
Wed, 8 Aug 2018 20:58:23 +0000 (20:58 +0000)
commitb1e8193a84a8df6d70ad8de16dadb8c4301a706b
treebf173677330c63d65fb29dccd374d9957095ac79
parentb25c063f950076234cf7bb4a496921983a7cc23f
Bug 21048: (QA follow-up) Fix authorized value statuses in filter

If you select an authorized value status in the filter, you want to keep
it too just like normal statuses as CHECKED.
The variable selected_status was not filled. The minimal fix is adding that
template variable in the script. Note that suggestion.STATUS is out of scope
within a loop using suggestion as loop var.

Note: Adding a regular status like CHECKED as an authorized value with
same code but another description works, but is kind of confusing ;) Not
in the scope of this report though.

Test plan:
Select an authval status in the filter. Apply the filter and verify again
that it is still selected under Suggestion information.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
suggestion/suggestion.pl