Bugzilla – Attachment 95953 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.10 KB, created by
ByWater Sandboxes
on 2019-12-03 16:17:19 UTC
(
hide
)
Description:
Bug 24128: Add alias for biblionumber search
Filename:
MIME Type:
Creator:
ByWater Sandboxes
Created:
2019-12-03 16:17:19 UTC
Size:
1.10 KB
patch
obsolete
>From 1eb10380cceb3e1f8e5924ae6d9b2d5912699749 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> >--- > 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