From a9aca08a51481aba393c8741dae52f737e0280a7 Mon Sep 17 00:00:00 2001 From: Henri-Damien LAURENT Date: Thu, 29 Oct 2009 15:12:53 +0100 Subject: [PATCH] MT 1902 : routing lists presence should be shown in serials-home, when showing the list of serials, display is changed in order to display the presence of a routing list for a subscription --- .../prog/en/modules/serials/serials-home.tmpl | 15 +++++++++------ serials/serials-home.pl | 2 +- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-home.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-home.tmpl index dc1aa8a2b8..1296d05021 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-home.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-home.tmpl @@ -72,10 +72,9 @@ Serials updated : Library (Callnumber) -   - -   + Routing list +   @@ -99,17 +98,21 @@ Serials updated : () - ">Issue History -   - &op=new">Routing List + + ">Edit + + &op=new">New + + ">Issue History +   diff --git a/serials/serials-home.pl b/serials/serials-home.pl index ec2ddee948..743b7a9385 100755 --- a/serials/serials-home.pl +++ b/serials/serials-home.pl @@ -51,7 +51,7 @@ use C4::Context; my $query = new CGI; my $title = $query->param('title_filter'); my $ISSN = $query->param('ISSN_filter'); -my $routing = $query->param('routing'); +my $routing = $query->param('routing')||C4::Context->preference("RoutingSerials"); my $searched = $query->param('searched'); my $biblionumber = $query->param('biblionumber'); -- 2.39.5