|
Lines 597-604
if ($tag) {
Link Here
|
| 597 |
my $json = JSON->new->utf8->allow_nonref(1); |
597 |
my $json = JSON->new->utf8->allow_nonref(1); |
| 598 |
$pasarParams .= '&query=' . uri_escape_utf8( $json->encode($query) ); |
598 |
$pasarParams .= '&query=' . uri_escape_utf8( $json->encode($query) ); |
| 599 |
$pasarParams .= '&count=' . uri_escape_utf8($results_per_page); |
599 |
$pasarParams .= '&count=' . uri_escape_utf8($results_per_page); |
| 600 |
$pasarParams .= '&simple_query=' . uri_escape_utf8($simple_query); |
600 |
$pasarParams .= '&simple_query=' . uri_escape_utf8($simple_query) if $simple_query; |
| 601 |
$pasarParams .= '&query_type=' . uri_escape_utf8($query_type) if ($query_type); |
601 |
$pasarParams .= '&query_type=' . uri_escape_utf8($query_type) if ($query_type); |
| 602 |
my $itemtypes_nocategory = |
602 |
my $itemtypes_nocategory = |
| 603 |
{ map { $_->{itemtype} => $_ } @{ Koha::ItemTypes->search_with_localization->unblessed } }; |
603 |
{ map { $_->{itemtype} => $_ } @{ Koha::ItemTypes->search_with_localization->unblessed } }; |
| 604 |
eval { |
604 |
eval { |
| 605 |
- |
|
|