Lines 75-83
foreach my $index ( ('biblios','authorities') ){
Link Here
|
75 |
} |
75 |
} |
76 |
|
76 |
|
77 |
# Fetch values for providing record links |
77 |
# Fetch values for providing record links |
78 |
my $es_params = $searcher->get_elasticsearch_params; |
78 |
my $es_params = $searcher->get_elasticsearch_params; |
79 |
my $es_base = "$es_params->{nodes}[0]/".$searcher->index_name; |
79 |
my $es_base = "$es_params->{nodes}[0]/" . $searcher->index_name; |
80 |
my $opac_base = C4::Context->preference('OPACBaseURL'); |
80 |
my $staff_base = C4::Context->preference('staffClientBaseURL'); |
81 |
|
81 |
|
82 |
print "\nComparing arrays, this may take a while\n"; |
82 |
print "\nComparing arrays, this may take a while\n"; |
83 |
|
83 |
|
Lines 92-101
foreach my $index ( ('biblios','authorities') ){
Link Here
|
92 |
for my $problem ( @koha_problems ){ |
92 |
for my $problem ( @koha_problems ){ |
93 |
if ( $index eq 'biblios' ) { |
93 |
if ( $index eq 'biblios' ) { |
94 |
print " #$problem"; |
94 |
print " #$problem"; |
95 |
print " Visit here to see record: $opac_base/cgi-bin/koha/opac-detail.pl?biblionumber=$problem\n"; |
95 |
print " Visit here to see record: $staff_base/cgi-bin/koha/catalogue/detail.pl?biblionumber=$problem\n"; |
96 |
} elsif ( $index eq 'authorities' ) { |
96 |
} elsif ( $index eq 'authorities' ) { |
97 |
print "#$problem"; |
97 |
print "#$problem"; |
98 |
print " Visit here to see record: $opac_base/cgi-bin/koha/opac-authoritiesdetail.pl?authid=$problem\n"; |
98 |
print " Visit here to see record: $staff_base/cgi-bin/koha/authorities/detail.pl?authid=$problem\n"; |
99 |
} |
99 |
} |
100 |
} |
100 |
} |
101 |
} |
101 |
} |
102 |
- |
|
|