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

(-)a/Koha/SearchEngine/Elasticsearch/QueryBuilder.pm (+1 lines)
Lines 557-562 our %index_field_convert = ( Link Here
557
    'se' => 'title-series',
557
    'se' => 'title-series',
558
    'ut' => 'title-uniform',
558
    'ut' => 'title-uniform',
559
    'an' => 'koha-auth-number',
559
    'an' => 'koha-auth-number',
560
    'authority-number' => 'koha-auth-number',
560
    'at' => 'authtype',
561
    'at' => 'authtype',
561
    'he' => 'heading',
562
    'he' => 'heading',
562
    'rank' => 'relevance',
563
    'rank' => 'relevance',
(-)a/Koha/SearchEngine/Elasticsearch/Search.pm (-1 / +1 lines)
Lines 266-272 sub count_auth_use { Link Here
266
        query => {
266
        query => {
267
            bool => {
267
            bool => {
268
#                query  => { match_all => {} },
268
#                query  => { match_all => {} },
269
                filter => { term      => { 'authority-number' => $authid } }
269
                filter => { term      => { 'koha-auth-number' => $authid } }
270
            }
270
            }
271
        }
271
        }
272
    };
272
    };
(-)a/installer/data/mysql/atomicupdate/bug_19575-use-canonical-field-names-and-resolve-aliased-fields.sql (-2 / +1 lines)
Lines 7-13 UPDATE `search_field` SET `name` = 'control-number', `label` = 'control-number' Link Here
7
UPDATE `search_field` SET `name` = 'place-of-publication', `label` = 'place-of-publication' WHERE `name` = 'place';
7
UPDATE `search_field` SET `name` = 'place-of-publication', `label` = 'place-of-publication' WHERE `name` = 'place';
8
UPDATE `search_field` SET `name` = 'date-of-acquisition', `label` = 'date-of-acquisition' WHERE `name` = 'acqdate';
8
UPDATE `search_field` SET `name` = 'date-of-acquisition', `label` = 'date-of-acquisition' WHERE `name` = 'acqdate';
9
UPDATE `search_field` SET `name` = 'isbn', `label` = 'isbn' WHERE `name` = 'isbn';
9
UPDATE `search_field` SET `name` = 'isbn', `label` = 'isbn' WHERE `name` = 'isbn';
10
UPDATE `search_field` SET `name` = 'authority-number', `label` = 'authority-number' WHERE `name` = 'an';
10
UPDATE `search_field` SET `name` = 'koha-auth-number', `label` = 'koha-auth-number' WHERE `name` = 'an';
11
UPDATE `search_field` SET `name` = 'subject', `label` = 'subject' WHERE `name` = 'subject';
11
UPDATE `search_field` SET `name` = 'subject', `label` = 'subject' WHERE `name` = 'subject';
12
UPDATE `search_field` SET `name` = 'publisher', `label` = 'publisher' WHERE `name` = 'publisher';
12
UPDATE `search_field` SET `name` = 'publisher', `label` = 'publisher' WHERE `name` = 'publisher';
13
UPDATE `search_field` SET `name` = 'record-source', `label` = 'record-source' WHERE `name` = 'record-source';
13
UPDATE `search_field` SET `name` = 'record-source', `label` = 'record-source' WHERE `name` = 'record-source';
14
- 

Return to bug 19575