From cb1a9466931790bbe3aac19845a3c7b441e43ea2 Mon Sep 17 00:00:00 2001 From: Adrien Saurat Date: Mon, 9 Jan 2012 11:55:08 +0100 Subject: [PATCH] Bug 7357: display serial title instead of '---' The full title of a serial is now displayed even if several lines have the same title. Signed-off-by: Chris Cormack Signed-off-by: Paul Poulain --- C4/Serials.pm | 8 -------- .../intranet-tmpl/prog/en/modules/serials/serials-home.tt | 4 +--- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/C4/Serials.pm b/C4/Serials.pm index 147118498d..9ec46304ba 100644 --- a/C4/Serials.pm +++ b/C4/Serials.pm @@ -612,14 +612,6 @@ sub GetSubscriptions { my $odd = 1; while ( my $line = $sth->fetchrow_hashref ) { - if ( $previousbiblio eq $line->{biblionumber} ) { - $line->{title} = ""; - $line->{issn} = ""; - } else { - $previousbiblio = $line->{biblionumber}; - $odd = -$odd; - } - $line->{toggle} = 1 if $odd == 1; $line->{'cannotedit'} = ( C4::Context->preference('IndependantBranches') && C4::Context->userenv diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-home.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-home.tt index 7753fd33aa..fb310d5279 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-home.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-home.tt @@ -99,9 +99,7 @@ Serials updated : [% IF ( subscription.issn ) %][% subscription.issn %] [% END %] - [% IF ( subscription.title ) %][% subscription.title |html %][% ELSE %] - --- - [% END %] + [% subscription.title |html %] [% IF ( subscription.notes ) %][% subscription.notes %][% END %] [% IF ( subscription.internalnotes ) %]([% subscription.internalnotes %])[% END %] -- 2.39.5