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

(-)a/Koha/SearchEngine/Elasticsearch/QueryBuilder.pm (-5 / +6 lines)
Lines 635-645 the provided string input. Link Here
635
=cut
635
=cut
636
636
637
our %scan_field_convert = (
637
our %scan_field_convert = (
638
    'ti' => 'title',
638
    'ti'      => 'title',
639
    'au' => 'author',
639
    'au'      => 'author',
640
    'su' => 'subject',
640
    'su'      => 'subject',
641
    'se' => 'title-series',
641
    'se'      => 'title-series',
642
    'pb' => 'publisher',
642
    'pb'      => 'publisher',
643
    'callnum' => 'local-classification',
643
);
644
);
644
645
645
sub _build_scan_query {
646
sub _build_scan_query {
(-)a/admin/searchengine/elasticsearch/mappings.yaml (-1 / +1 lines)
Lines 2606-2612 biblios: Link Here
2606
    label: local-classification
2606
    label: local-classification
2607
    mandatory: ~
2607
    mandatory: ~
2608
    mappings:
2608
    mappings:
2609
    - facet: ''
2609
    - facet: 1
2610
      marc_field: 952o
2610
      marc_field: 952o
2611
      marc_type: marc21
2611
      marc_type: marc21
2612
      sort: 0
2612
      sort: 0
(-)a/etc/zebradb/ccl.properties (-1 / +1 lines)
Lines 1039-1045 stack 1=8018 Link Here
1039
issues 1=8019
1039
issues 1=8019
1040
renewals 1=8020
1040
renewals 1=8020
1041
reserves 1=8021
1041
reserves 1=8021
1042
Local-classification 1=8022
1042
#Local-classification 1=8022
1043
barcode 1=8023
1043
barcode 1=8023
1044
bc barcode
1044
bc barcode
1045
onloan 1=8024 14=1
1045
onloan 1=8024 14=1
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt (-1 / +2 lines)
Lines 417-422 Link Here
417
                                [% ELSE %]<option value="sn">ISBN</option>[% END %]
417
                                [% ELSE %]<option value="sn">ISBN</option>[% END %]
418
                                [% IF ( header_pulldown ==  "ms_ss" ) %]<option selected="selected" value="ss">ISSN</option>
418
                                [% IF ( header_pulldown ==  "ms_ss" ) %]<option selected="selected" value="ss">ISSN</option>
419
                                [% ELSE %]<option value="ss">ISSN</option>[% END %]
419
                                [% ELSE %]<option value="ss">ISSN</option>[% END %]
420
                                [% IF ( header_pulldown ==  "ms_callnum" ) %]<option selected="selected" value="callnum">Call number</option>
421
                                [% ELSE %]<option value="callnum">Call number</option>[% END %]
420
                            </select>
422
                            </select>
421
                            [% IF ( scan_search_term_to_use ) %]
423
                            [% IF ( scan_search_term_to_use ) %]
422
                                 <input type="text" name="q" id="scan-index-term" size="35" value="[% scan_search_term_to_use | html %]" />
424
                                 <input type="text" name="q" id="scan-index-term" size="35" value="[% scan_search_term_to_use | html %]" />
423
- 

Return to bug 36991