Templates use the 'subject' hash entry for listing the subject headings of a
biblio.
This commit is contained in:
parent
7a460ed0b3
commit
fd6ad2eb8a
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue