Bug 21397: Mark "Routing list" tab as active when selected
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 21 Sep 2018 21:35:06 +0000 (18:35 -0300)
committerFridolin Somers <fridolin.somers@biblibre.com>
Mon, 8 Oct 2018 05:57:03 +0000 (07:57 +0200)
commit57c049ed81e5a1e7a3c5738f50dda705a2164bfa
tree4d271bfbe96dee9009e949baca14ae0434bca0fc
parentb25b8ae76abd6a4fb97130a2b210603a08ab462c
Bug 21397: Mark "Routing list" tab as active when selected

/members/routing-lists.pl?borrowernumber=5 show the different tab of the
menu but "Routing lists" is not displayed as the selected one (active).

"routinglistview" must be set and passed to the template

Test plan:
Enable the RoutingSerials pref
and hit /members/routing-lists.pl?borrowernumber=42

The "Routing lists" tab must be selected/active

Followed test plan and tab now shows as active.
Signed-off-by: Dilan Johnpullé <dilan@calyx.net.au>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit 270a408949e69b97aff87a208a559c4736e20426)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 1d9377b11a509b7e273aa71545a4181b04804ab1)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
members/routing-lists.pl