From eec9246f267e063bc1d3589a8303dcb1eb0de7fa 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 (cherry picked from commit cb1a9466931790bbe3aac19845a3c7b441e43ea2) Signed-off-by: Chris Nighswonger --- 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 d35ad1275a..77204d6828 100644 --- a/C4/Serials.pm +++ b/C4/Serials.pm @@ -603,14 +603,6 @@ sub GetSubscriptions { my @results; 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 1248365986..ec1faf31c2 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 @@ -111,9 +111,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