Bugzilla – Attachment 167593 Details for
Bug 36729
Add Publisher/Distributor Number to standard identifier search index
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36729: Add Publisher/Distributor Number to standard identifier search index
Bug-36729-Add-PublisherDistributor-Number-to-stand.patch (text/plain), 1.59 KB, created by
David Nind
on 2024-06-08 01:09:07 UTC
(
hide
)
Description:
Bug 36729: Add Publisher/Distributor Number to standard identifier search index
Filename:
MIME Type:
Creator:
David Nind
Created:
2024-06-08 01:09:07 UTC
Size:
1.59 KB
patch
obsolete
>From b1e5d9e178e0dd6205899269b127dbe33712bc74 Mon Sep 17 00:00:00 2001 >From: danyonsewell <danyonsewell@catalyst.net.nz> >Date: Wed, 5 Jun 2024 01:54:17 +0000 >Subject: [PATCH] Bug 36729: Add Publisher/Distributor Number to standard > identifier search index > >Have written a patch to allow Publisher/Distributor number to be searched using the standard identifier search index. > >Testing plan: > >1. Start up KTD with Elasticsearch: ktd --es8 up >2. Apply the patch and restart everything (restart_all). >3. Reset the mappings: Administration > Catalog > Search engine configuration (Elasticsearch) > Reset mappings (at the bottom of the page) >4. Reindex: koha-elasticsearch --rebuild -d -b -a kohadev >5. Alternative to steps 3 and 4: reset_all >6. Update the visibility for 028a in the default framework so that it is visible in the Editor. >7. Add a new record using the default framework and put a term in 028a. >8. Using the advanced search "Standard number" Field, search for the term you put in step 7. > >Signed-off-by: David Nind <david@davidnind.com> >--- > admin/searchengine/elasticsearch/mappings.yaml | 4 ++++ > 1 file changed, 4 insertions(+) > >diff --git a/admin/searchengine/elasticsearch/mappings.yaml b/admin/searchengine/elasticsearch/mappings.yaml >index 929f2f9410..e693fb2bee 100644 >--- a/admin/searchengine/elasticsearch/mappings.yaml >+++ b/admin/searchengine/elasticsearch/mappings.yaml >@@ -2048,6 +2048,10 @@ biblios: > marc_type: unimarc > sort: 1 > suggestible: '' >+ - facet: '' >+ marc_field: 028a >+ marc_type: marc21 >+ sort: 1 > opac: 1 > staff_client: 1 > type: stdno >-- >2.39.2
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 36729
:
167425
| 167593