]> git.koha-community.org Git - koha.git/commit
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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 21 Sep 2018 10:14:19 +0000 (12:14 +0200)
commit6af5e209a0af68883af1dfe7d36365097d1466d8
treec071c3ad2aec1ae544bfffe4221def9f0b8f21fa
parent45cca9d1f2b137b5c597bacaf8ef19eb8b1ad5c0
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>
(cherry picked from commit b1e8193a84a8df6d70ad8de16dadb8c4301a706b)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit f5121183d9049a82645797e18028d600e11a2476)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
suggestion/suggestion.pl