View | Details | Raw Unified | Return to bug 9857
Collapse All | Expand All

(-)a/Koha/SuggestionEngine/Plugin/AuthorityFile.pm (-1 / +1 lines)
Lines 94-100 sub get_suggestions { Link Here
94
    foreach my $auth (@$searchresults) {
94
    foreach my $auth (@$searchresults) {
95
        push @results,
95
        push @results,
96
          {
96
          {
97
            'search'  => "an=$auth->{'authid'}",
97
            'search'  => "an:$auth->{'authid'}",
98
            relevance => $count--,
98
            relevance => $count--,
99
            label     => $auth->{summary}->{authorized}->[0]->{heading}
99
            label     => $auth->{summary}->{authorized}->[0]->{heading}
100
          };
100
          };
(-)a/Koha/SuggestionEngine/Plugin/ExplodedTerms.pm (-2 / +1 lines)
Lines 85-91 sub get_suggestions { Link Here
85
    my @results;
85
    my @results;
86
    foreach my $index (@indexes) {
86
    foreach my $index (@indexes) {
87
        my $thissearch = $search;
87
        my $thissearch = $search;
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 = $template->output;
91
        my $label = $template->output;
92
- 

Return to bug 9857