Fix for Bug 2016, navigation bar in moredetail.pl not the same as in detail.pl
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
This commit is contained in:
parent
0918a59cd0
commit
934332b8b1
1 changed files with 8 additions and 1 deletions
|
@ -28,6 +28,7 @@ use C4::Branch;
|
|||
use C4::Acquisition;
|
||||
use C4::Output; # contains gettemplate
|
||||
use C4::Auth;
|
||||
use C4::Serials;
|
||||
use C4::Dates qw/format_date/;
|
||||
use C4::Circulation; # to use itemissues
|
||||
|
||||
|
@ -55,6 +56,9 @@ my $title=$query->param('title');
|
|||
my $data=GetBiblioData($biblionumber);
|
||||
my $dewey = $data->{'dewey'};
|
||||
|
||||
#coping with subscriptions
|
||||
my $subscriptionsnumber = CountSubscriptionFromBiblionumber($biblionumber);
|
||||
|
||||
# FIXME Dewey is a string, not a number, & we should use a function
|
||||
# $dewey =~ s/0+$//;
|
||||
# if ($dewey eq "000.") { $dewey = "";};
|
||||
|
@ -99,7 +103,10 @@ foreach my $item (@items){
|
|||
$item->{'issue'}= 1;
|
||||
}
|
||||
}
|
||||
$template->param(count => $data->{'count'});
|
||||
$template->param(count => $data->{'count'},
|
||||
subscriptionsnumber => $subscriptionsnumber,
|
||||
subscriptiontitle => $data->{title},
|
||||
);
|
||||
$template->param(BIBITEM_DATA => \@results);
|
||||
$template->param(ITEM_DATA => \@items);
|
||||
$template->param(moredetailview => 1);
|
||||
|
|
Loading…
Reference in a new issue