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 2657-2663 biblios: Link Here
2657
    label: local-classification
2657
    label: local-classification
2658
    mandatory: ~
2658
    mandatory: ~
2659
    mappings:
2659
    mappings:
2660
    - facet: ''
2660
    - facet: 1
2661
      marc_field: 952o
2661
      marc_field: 952o
2662
      marc_type: marc21
2662
      marc_type: marc21
2663
      sort: 0
2663
      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 418-423 Link Here
418
                                [% ELSE %]<option value="sn">ISBN</option>[% END %]
418
                                [% ELSE %]<option value="sn">ISBN</option>[% END %]
419
                                [% IF ( header_pulldown ==  "ms_ss" ) %]<option selected="selected" value="ss">ISSN</option>
419
                                [% IF ( header_pulldown ==  "ms_ss" ) %]<option selected="selected" value="ss">ISSN</option>
420
                                [% ELSE %]<option value="ss">ISSN</option>[% END %]
420
                                [% ELSE %]<option value="ss">ISSN</option>[% END %]
421
                                [% IF ( header_pulldown ==  "ms_callnum" ) %]<option selected="selected" value="callnum">Call number</option>
422
                                [% ELSE %]<option value="callnum">Call number</option>[% END %]
421
                            </select>
423
                            </select>
422
                            [% IF ( scan_search_term_to_use ) %]
424
                            [% IF ( scan_search_term_to_use ) %]
423
                                 <input type="text" name="q" id="scan-index-term" size="35" value="[% scan_search_term_to_use | html %]" />
425
                                 <input type="text" name="q" id="scan-index-term" size="35" value="[% scan_search_term_to_use | html %]" />
424
- 

Return to bug 36991