Templates use the 'subject' hash entry for listing the subject headings of a

biblio.
This commit is contained in:
tonnesen 2002-12-07 07:07:00 +00:00
parent 7a460ed0b3
commit fd6ad2eb8a
1 changed files with 2 additions and 0 deletions

View File

@ -1475,8 +1475,10 @@ sub bibdata {
my @sub;
while (my $dat = $sth->fetchrow_hashref){
push @sub,$dat;
$data->{'subject'}.=$dat->{subject}." | ";
} # while
$data->{'subjects'}=\@sub;
$data->{subject}=~s/ | $//;
$sth->finish;
$dbh->disconnect;
return($data);