Bugzilla – Attachment 96008 Details for
Bug 24128
Add alias for biblionumber => local-number
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24128: Add alias for biblionumber search
Bug-24128-Add-alias-for-biblionumber-search.patch (text/plain), 1.17 KB, created by
Jonathan Druart
on 2019-12-05 11:01:51 UTC
(
hide
)
Description:
Bug 24128: Add alias for biblionumber search
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2019-12-05 11:01:51 UTC
Size:
1.17 KB
patch
obsolete
>From b82b519c66872a7f04faae37499c2dead9bb741f Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >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 <bbennhoff@clicweb.org> > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > 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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 24128
:
95846
|
95953
| 96008