Bug Fixing : title not displayed in UNIMARC

use of record->title() for UNIMARC is not correct, since MARC::Record functions are based
on MARC21 marckup.
What should be used instead is : GetBiblioData

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
This commit is contained in:
Henri-Damien LAURENT 2008-01-04 13:06:49 -06:00 committed by Joshua Ferraro
parent ee5c60cc2d
commit 593cb7e27e
1 changed files with 2 additions and 2 deletions

View File

@ -70,7 +70,7 @@ my $subscriptionid = $query->param('subscriptionid');
my $tagslib = &GetMarcStructure(1,$frameworkcode);
my $record = GetMarcBiblio($biblionumber);
my $biblio = GetBiblioData($biblionumber);
# open template
my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
{
@ -86,7 +86,7 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
#count of item linked
my $itemcount = GetItemsCount($biblionumber);
$template->param( count => $itemcount,
bibliotitle => $record->title(), );
bibliotitle => $biblio->{title}, );
#Getting the list of all frameworks
my $queryfwk =