View | Details | Raw Unified | Return to bug 27428
Collapse All | Expand All

(-)a/Koha/SearchEngine/Elasticsearch/Browse.pm (+8 lines)
Lines 175-180 sub _build_query_count_record { Link Here
175
    return $query;
175
    return $query;
176
}
176
}
177
177
178
=head2 count_record
179
180
  $result = $browser->count_record($ses);
181
182
Return an arrayref of record counts
183
184
=cut
185
178
sub count_record {
186
sub count_record {
179
    my ($self, $cgi_q) = @_;
187
    my ($self, $cgi_q) = @_;
180
    my @results_return;
188
    my @results_return;
(-)a/koha-tmpl/opac-tmpl/bootstrap/js/opac-display-record-count.js (-2 / +1 lines)
Lines 46-52 var not_symbols = { Link Here
46
46
47
function NumberResultsRecord(){
47
function NumberResultsRecord(){
48
48
49
    var regex = `a[href*="${regex_es_link}"]`;
49
    var regex = 'a[href*="${' + regex_es_link + '}"]';
50
    var all_link = $(regex);
50
    var all_link = $(regex);
51
    /* array json data to server */
51
    /* array json data to server */
52
    var json_data=[];
52
    var json_data=[];
53
- 

Return to bug 27428