When the initial search is su=.../su:... the links was
not constructed correctly. With this change, it should
be the case.
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Mason James <mtj@kohaaloha.com>
=cut
-use strict;
-use warnings;
+use Modern::Perl;
use Carp;
use base qw(Koha::SuggestionEngine::Base);
=cut
-use strict;
-use warnings;
+use Modern::Perl;
use Carp;
use C4::Templates qw(gettemplate); # This is necessary for translatability
foreach my $index (@indexes) {
my $thissearch = $search;
$thissearch = "$index:$thissearch"
- unless ( $thissearch =~ s/OP!/$index=/g );
+ unless ( $thissearch =~ s/OP!/$index:/g );
$template->{VARS}->{index} = $index;
my $label = $template->output;
push @results,