From fd6ad2eb8ae34770660bf475010ea512b4fead12 Mon Sep 17 00:00:00 2001 From: tonnesen Date: Sat, 7 Dec 2002 07:07:00 +0000 Subject: [PATCH] Templates use the 'subject' hash entry for listing the subject headings of a biblio. --- C4/Search.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/C4/Search.pm b/C4/Search.pm index c1763629b6..60fd97f061 100755 --- a/C4/Search.pm +++ b/C4/Search.pm @@ -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); -- 2.39.5