From 57c049ed81e5a1e7a3c5738f50dda705a2164bfa Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 21 Sep 2018 18:35:06 -0300 Subject: [PATCH] Bug 21397: Mark "Routing list" tab as active when selected MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit /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é Signed-off-by: Katrin Fischer Signed-off-by: Nick Clemens (cherry picked from commit 270a408949e69b97aff87a208a559c4736e20426) Signed-off-by: Martin Renvoize (cherry picked from commit 1d9377b11a509b7e273aa71545a4181b04804ab1) Signed-off-by: Fridolin Somers --- members/routing-lists.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/members/routing-lists.pl b/members/routing-lists.pl index be9a863a3f..43972657ec 100755 --- a/members/routing-lists.pl +++ b/members/routing-lists.pl @@ -91,6 +91,7 @@ $template->param( borrowernumber => $borrowernumber, branch => $branch, categoryname => $patron_info->{description}, + routinglistview => 1, ); if (C4::Context->preference('ExtendedPatronAttributes')) { -- 2.39.5