From 8bd71415f136bfc41cbceaabf3dc066ad8275fc3 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Wed, 25 Dec 2013 15:49:48 +0000 Subject: [PATCH] Bug 9940: (follow-up) add language-original to QP search field list This patch adds language-original to the list of search fields recognized by QueryParser. To test: [1] After doing the tests in the main patch, copy the configuration file etc/searchengine/queryparser.yaml into place, turn on the UseQueryParser system preference, and verify that searching on language-original still works. Signed-off-by: Galen Charlton (cherry picked from commit e4912a20f9b6f59fb57955777abd1e62d785a1fd) Signed-off-by: Fridolin SOMERS --- etc/searchengine/queryparser.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/etc/searchengine/queryparser.yaml b/etc/searchengine/queryparser.yaml index 53cff85f04..832643a805 100644 --- a/etc/searchengine/queryparser.yaml +++ b/etc/searchengine/queryparser.yaml @@ -654,6 +654,15 @@ field_mappings: - language - ln label: Language + language: + bib1_mapping: + biblioserver: + 1: 1095 + enabled: 1 + aliases: + - language-original + index: language-original + label: Language of original lc-card-number: bib1_mapping: biblioserver: -- 2.39.5