Lines 10-16
use Koha::SearchEngine::Elasticsearch::Browse;
Link Here
|
10 |
|
10 |
|
11 |
my $browser = Koha::SearchEngine::Elasticsearch::Browse->new( { index => 'biblios' } ); |
11 |
my $browser = Koha::SearchEngine::Elasticsearch::Browse->new( { index => 'biblios' } ); |
12 |
my $cgi = CGI->new; |
12 |
my $cgi = CGI->new; |
13 |
my $session = CGI::Session->new(); |
13 |
my $session = CGI::Session->load() or die CGI::Session->errstr(); |
14 |
|
14 |
|
15 |
$session->param( -name => 'q', -value => $cgi->param("q") ); |
15 |
$session->param( -name => 'q', -value => $cgi->param("q") ); |
16 |
$session->param( -name => 'key', -value => $cgi->param("key") ); |
16 |
$session->param( -name => 'key', -value => $cgi->param("key") ); |
17 |
- |
|
|