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)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 27 Sep 2018 12:34:09 +0000 (13:34 +0100)
commit1d9377b11a509b7e273aa71545a4181b04804ab1
treea6d96b6248de3564093248bcfdb5adfe4aa1def2
parentd0affd28266fb9e7461521c703dd640e19c82b99
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>
members/routing-lists.pl