|
Lines 88-96
sub get_suggestions {
Link Here
|
| 88 |
$thissearch = "$index=$thissearch" |
88 |
$thissearch = "$index=$thissearch" |
| 89 |
unless ( $thissearch =~ s/OP!/$index=/g ); |
89 |
unless ( $thissearch =~ s/OP!/$index=/g ); |
| 90 |
$template->{VARS}->{index} = $index; |
90 |
$template->{VARS}->{index} = $index; |
| 91 |
my $label = pack("U0a*", $template->output); #FIXME: C4::Templates is |
91 |
my $label = $template->output; |
| 92 |
# returning incorrectly-marked UTF-8. This fixes the problem, but is |
|
|
| 93 |
# an annoying workaround. |
| 94 |
push @results, |
92 |
push @results, |
| 95 |
{ |
93 |
{ |
| 96 |
'search' => $thissearch, |
94 |
'search' => $thissearch, |
| 97 |
- |
|
|