[Koha] Adding search options to drop-down menu

King, Fred Fred.King at Medstar.net
Wed Mar 7 02:05:02 NZDT 2018


Zebra. Elastic is on my things-to-learn list.

Fred King
Medical Librarian, MedStar Washington Hospital Center
fred.king at medstar.net<mailto:fred.king at medstar.net>
202-877-6670
ORCID 0000-0001-5266-0279
MedStar Authors Catalog: http://medstarauthors.org

Sometimes I wake up from a dream and then go back to it in disguise so I can find out what they’re saying about me behind my back.
--Bill in Portland

From: Barton Chittenden [mailto:barton at bywatersolutions.com]
Sent: Monday, March 05, 2018 5:38 PM
To: King, Fred
Cc: koha at lists.katipo.co.nz
Subject: Re: [Koha] Adding search options to drop-down menu

Fred,

Zebra search or Elastic?

--Barton

On Mon, Mar 5, 2018 at 1:34 PM, King, Fred <Fred.King at medstar.net<mailto:Fred.King at medstar.net>> wrote:
Greetings, all,

I want to make some changes/additional options to the search menus in masthead.inc and opac-advsearch.tt<https://urldefense.proofpoint.com/v2/url?u=http-3A__opac-2Dadvsearch.tt&d=DwMFaQ&c=RvBXVp2Kc-itN3g6r3sN0QK_zL4whPpndVxj8-bJ04M&r=vKh6XwOmjyC51IkP1OfsdjQZoWT2vpi6VZl8El8EPRI&m=30CbvGuVdxWeKwDx2F3UTjjlEP9aueo_DXcwQiw0M0g&s=e7imzJ6oQh2L59vXx7APEVpSa278PFCSSPc54XXM2-o&e=>. For example, I'd like to limit the subject field to only 650$a and add separate fields for $651a and $656$a. Also, I'd like to add search options for 190$a and 253$a.*

I went into Keyword to MARC mapping and created fields mapped to a single MARC subfield, for example, mesh** is mapped to 650a. Then I added the line
   <option value="mesh">MeSH Term</option>
to my search. That doesn't work-the search comes up empty.

Can someone point me in the right direction? I've looked in the wiki and the documentation and I haven't found anything.

I'm using Koha 17.11 and Ubuntu 16.04.

Thanks,

*Those fields don't exist? They do in my catalog. See http://medstarauthors.org<https://urldefense.proofpoint.com/v2/url?u=http-3A__medstarauthors.org&d=DwMFaQ&c=RvBXVp2Kc-itN3g6r3sN0QK_zL4whPpndVxj8-bJ04M&r=vKh6XwOmjyC51IkP1OfsdjQZoWT2vpi6VZl8El8EPRI&m=30CbvGuVdxWeKwDx2F3UTjjlEP9aueo_DXcwQiw0M0g&s=cfsXxGj0HjzYhIl6tuwvywHKKnMsQ0DRphFKpVx3Xso&e=>.
**Medical subject heading, in case you were wondering.

Fred King
Medical Librarian, MedStar Washington Hospital Center
fred.king at medstar.net<mailto:fred.king at medstar.net><mailto:fred.king at medstar.net<mailto:fred.king at medstar.net>>
202-877-6670<tel:202-877-6670>
ORCID 0000-0001-5266-0279
MedStar Authors Catalog: http://medstarauthors.org<https://urldefense.proofpoint.com/v2/url?u=http-3A__medstarauthors.org&d=DwMFaQ&c=RvBXVp2Kc-itN3g6r3sN0QK_zL4whPpndVxj8-bJ04M&r=vKh6XwOmjyC51IkP1OfsdjQZoWT2vpi6VZl8El8EPRI&m=30CbvGuVdxWeKwDx2F3UTjjlEP9aueo_DXcwQiw0M0g&s=cfsXxGj0HjzYhIl6tuwvywHKKnMsQ0DRphFKpVx3Xso&e=>

Sometimes I wake up from a dream and then go back to it in disguise so I can find out what they're saying about me behind my back.
--Bill in Portland

_______________________________________________
Koha mailing list  http://koha-community.org<https://urldefense.proofpoint.com/v2/url?u=http-3A__koha-2Dcommunity.org&d=DwMFaQ&c=RvBXVp2Kc-itN3g6r3sN0QK_zL4whPpndVxj8-bJ04M&r=vKh6XwOmjyC51IkP1OfsdjQZoWT2vpi6VZl8El8EPRI&m=30CbvGuVdxWeKwDx2F3UTjjlEP9aueo_DXcwQiw0M0g&s=8ZdWVcimRfFd8hbh27etRPYuzUxxKuFKqmjANKBhGE4&e=>
Koha at lists.katipo.co.nz<mailto:Koha at lists.katipo.co.nz>
https://lists.katipo.co.nz/mailman/listinfo/koha<https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.katipo.co.nz_mailman_listinfo_koha&d=DwMFaQ&c=RvBXVp2Kc-itN3g6r3sN0QK_zL4whPpndVxj8-bJ04M&r=vKh6XwOmjyC51IkP1OfsdjQZoWT2vpi6VZl8El8EPRI&m=30CbvGuVdxWeKwDx2F3UTjjlEP9aueo_DXcwQiw0M0g&s=vqMXJzG1qnFKFz-LA9i83YheO6KoKpmNofY9rTkEZVg&e=>



More information about the Koha mailing list