From f3b0f3816b711b80a786960263d14182d8bf82f1 Mon Sep 17 00:00:00 2001 From: Henri-Damien LAURENT Date: Fri, 14 Dec 2007 11:20:38 +0100 Subject: [PATCH] Bug fixing : serial collection on OPAC were not correctly displayed. Call to PrepareSerialsData on Serial information Adding receivedlist and missing list to brief display Modifying js to use display:block/display:none rather than visibility attribute. Signed-off-by: Joshua Ferraro --- .../en/modules/opac-full-serial-issues.tmpl | 7 ++++--- .../prog/en/modules/opac-serial-issues.tmpl | 18 ++++++++++++++++++ opac/opac-serial-issues.pl | 3 ++- 3 files changed, 24 insertions(+), 4 deletions(-) diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-full-serial-issues.tmpl b/koha-tmpl/opac-tmpl/prog/en/modules/opac-full-serial-issues.tmpl index 5e2d6114fa..1e00579374 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-full-serial-issues.tmpl +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-full-serial-issues.tmpl @@ -24,7 +24,8 @@ -
" class="tabsub" style="visibility:visible"> + +
" class="tabsub" style="display:block">
" class="tabsub" style="display:none">
Date @@ -64,9 +65,9 @@ function showlayer(numlayer) for (i=0; i

+ +

Available Issues

+

+ +

+ + +

Unavailable Issues

+

+ +

+ + +

Issues summary

+

+ +

+

Issues summary

diff --git a/opac/opac-serial-issues.pl b/opac/opac-serial-issues.pl index d54ebdba6c..4aceed9d8c 100755 --- a/opac/opac-serial-issues.pl +++ b/opac/opac-serial-issues.pl @@ -42,6 +42,7 @@ my ( $template, $loggedinuser, $cookie ); my $biblionumber = $query->param('biblionumber'); if ( $selectview eq "full" ) { my $subscriptions = GetFullSubscriptionsFromBiblionumber($biblionumber); + my $subscriptioninformation=PrepareSerialsData($subscriptions); my $title = $subscriptions->[0]{bibliotitle}; my $yearmin = $subscriptions->[0]{year}; @@ -62,7 +63,7 @@ if ( $selectview eq "full" ) { $template->param( biblionumber => $query->param('biblionumber'), - years => $subscriptions, + years => $subscriptioninformation, yearmin => $yearmin, yearmax => $yearmax, bibliotitle => $title, -- 2.39.5