[Koha] Adding search options to drop-down menu

King, Fred Fred.King at Medstar.net
Tue Mar 6 07:34:35 NZDT 2018


Greetings, all,

I want to make some changes/additional options to the search menus in masthead.inc and opac-advsearch.tt. 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.
**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>
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



More information about the Koha mailing list