@@ -, +, @@ --- opac/opac-search.pl | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) --- a/opac/opac-search.pl +++ a/opac/opac-search.pl @@ -472,8 +472,11 @@ if ($tag) { $query_cgi = "tag=" .$tag . "&" . $query_cgi; my $taglist = get_tags({term=>$tag, approved=>1}); $results_hashref->{biblioserver}->{hits} = scalar (@$taglist); - my @biblist = (map {GetBiblioData($_->{biblionumber})} @$taglist); - my @marclist = (map {$_->{marc}} @biblist ); + my @marclist; + foreach my $record (@$taglist) { + my $marc = GetMarcBiblio($record->{biblionumber}, 1); + push @marclist, $marc->as_usmarc(); + } $DEBUG and printf STDERR "taglist (%s biblionumber)\nmarclist (%s records)\n", scalar(@$taglist), scalar(@marclist); $results_hashref->{biblioserver}->{RECORDS} = \@marclist; # FIXME: tag search and standard search should work together, not exclusively --