Lines 85-90
use Koha::Recalls;
Link Here
|
85 |
use Koha::Reviews; |
85 |
use Koha::Reviews; |
86 |
use Koha::SearchEngine::Search; |
86 |
use Koha::SearchEngine::Search; |
87 |
use Koha::SearchEngine::QueryBuilder; |
87 |
use Koha::SearchEngine::QueryBuilder; |
|
|
88 |
use Koha::Util::MARC; |
88 |
|
89 |
|
89 |
use JSON qw( decode_json ); |
90 |
use JSON qw( decode_json ); |
90 |
|
91 |
|
Lines 1186-1193
my $issn = $marcissns->[0] || '';
Link Here
|
1186 |
if (my $search_for_title = C4::Context->preference('OPACSearchForTitleIn')){ |
1187 |
if (my $search_for_title = C4::Context->preference('OPACSearchForTitleIn')){ |
1187 |
$dat->{title} =~ s/\/+$//; # remove trailing slash |
1188 |
$dat->{title} =~ s/\/+$//; # remove trailing slash |
1188 |
$dat->{title} =~ s/\s+$//; # remove trailing space |
1189 |
$dat->{title} =~ s/\s+$//; # remove trailing space |
1189 |
my $oclc_no = $record->subfield('035','a') // q{}; |
1190 |
my $oclc_no = Koha::Util::MARC::oclc_number( $record ); |
1190 |
$oclc_no =~ s/\([^)]*\)//; |
|
|
1191 |
$search_for_title = parametrized_url( |
1191 |
$search_for_title = parametrized_url( |
1192 |
$search_for_title, |
1192 |
$search_for_title, |
1193 |
{ |
1193 |
{ |
1194 |
- |
|
|