Summary: | Add Publisher/Distributor Number to standard identifier search index | ||
---|---|---|---|
Product: | Koha | Reporter: | Aleisha Amohia <aleisha> |
Component: | Searching - Elasticsearch | Assignee: | Danyon Sewell <danyonsewell> |
Status: | Signed Off --- | QA Contact: | |
Severity: | enhancement | ||
Priority: | P5 - low | CC: | danyonsewell |
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | Sponsored | Patch complexity: | --- |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: | |||
Attachments: |
Bug 36729: Add Publisher/Distributor Number to standard identifier search index
Bug 36729: Add Publisher/Distributor Number to standard identifier search index |
Description
Aleisha Amohia
2024-04-30 05:50:51 UTC
Please ignore the above description We would like to add 028$a to the identifier-standard search index, used by the 'Standard number' advanced search dropdown option Justification: To search for publisher/distributor number (028 $a). e.g. 028 $a RSMC058. Created attachment 167425 [details] [review] 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. Created attachment 167593 [details] [review] 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> |