202 |
|
|
203 |
my $d = $item->{'display'}->[$i] || die "can't find value $i for type display in field $display"; |
my $d = $item->{'display'}->[$i] || die "can't find value $i for type display in field $display"; |
204 |
|
|
205 |
push @html, qq{<a href="#" onclick="return search_via_link('$search','$s','$template')">$d</a>}; |
my $template_arg = ''; |
206 |
|
$template_arg = qq{,'$template'} if ($template); |
207 |
|
|
208 |
|
push @html, qq{<a href="#" onclick="return search_via_link('$search','$s'${template_arg})">$d</a>}; |
209 |
} |
} |
210 |
|
|
211 |
return join($delimiter, @html); |
return join($delimiter, @html); |