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:
parent
ee5c60cc2d
commit
593cb7e27e
|
|
@ -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 =
|
||||
|
|
|
|||
Loading…
Reference in New Issue