From 1eb10380cceb3e1f8e5924ae6d9b2d5912699749 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Wed, 27 Nov 2019 11:26:45 +0000 Subject: [PATCH] Bug 24128: Add alias for biblionumber search To test: 1 - In staff or OPAC using ES, search for "biblionumber:3" or any existing biblionumber 2 - No results 3 - Apply patch, restart all the things 4 - Search again 5 - You go to the biblionumber Signed-off-by: Bob Bennhoff --- Koha/SearchEngine/Elasticsearch/QueryBuilder.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/Koha/SearchEngine/Elasticsearch/QueryBuilder.pm b/Koha/SearchEngine/Elasticsearch/QueryBuilder.pm index 4a7cede380..05804e3640 100644 --- a/Koha/SearchEngine/Elasticsearch/QueryBuilder.pm +++ b/Koha/SearchEngine/Elasticsearch/QueryBuilder.pm @@ -632,6 +632,7 @@ our %index_field_convert = ( 'mus' => 'rtype', 'lc-card' => 'lc-card-number', 'sn' => 'local-number', + 'biblionumber' => 'local-number', 'yr' => 'date-of-publication', 'pubdate' => 'date-of-publication', 'acqdate' => 'date-of-acquisition', -- 2.11.0