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

(-)a/etc/searchengine/queryparser.yaml (-1 / +1 lines)
Lines 524-530 field_mappings: Link Here
524
        - ff8-19
524
        - ff8-19
525
        - regularity-code
525
        - regularity-code
526
      label: Ff8-19
526
      label: Ff8-19
527
   ff8-21
527
    ff8-21:
528
      bib1_mapping:
528
      bib1_mapping:
529
        biblioserver:
529
        biblioserver:
530
          1: 8821
530
          1: 8821
(-)a/t/QueryParser.t (-2 / +1 lines)
Lines 17-23 ok(defined $QParser, 'Successfully created empty QP object'); Link Here
17
ok($QParser->load_config('./etc/searchengine/queryparser.yaml'), 'Loaded QP config');
17
ok($QParser->load_config('./etc/searchengine/queryparser.yaml'), 'Loaded QP config');
18
18
19
is($QParser->search_class_count, 4, 'Initialized 4 search classes');
19
is($QParser->search_class_count, 4, 'Initialized 4 search classes');
20
is (scalar(@{$QParser->search_fields()->{'keyword'}}), 111, "Correct number of search fields for 'keyword' class");
20
is (scalar(@{$QParser->search_fields()->{'keyword'}}), 121, "Correct number of search fields for 'keyword' class");
21
21
22
# Set keyword search as the default
22
# Set keyword search as the default
23
$QParser->default_search_class('keyword');
23
$QParser->default_search_class('keyword');
24
- 

Return to bug 11193