--- trunk/lib/WebPAC/Output/TT.pm 2005/12/24 11:23:17 319 +++ trunk/lib/WebPAC/Output/TT.pm 2005/12/24 11:24:10 320 @@ -145,7 +145,7 @@ filter to return links to search, usage in TT: - [% search('FieldToDisplay','FieldToSearch','optional delimiter') %] + [% search('FieldToDisplay','FieldToSearch','optional delimiter', 'optional_template.tt') %] =cut @@ -157,7 +157,7 @@ return sub { - my ($display,$search,$delimiter) = @_; + my ($display,$search,$delimiter,$template) = @_; # default delimiter $delimiter ||= '¶
', @@ -202,7 +202,7 @@ my $d = $item->{'display'}->[$i] || die "can't find value $i for type display in field $display"; - push @html, qq{$d}; + push @html, qq{$d}; } return join($delimiter, @html);