On Mon, Dec 11, 2006 at 10:33:01AM -0900, Darla Grediagin said:
Good morning,
I am trying to add the ability to search by reading levels into my catalog. Can anyone let me know how to make the 521 tag be searchable and then if I could edit the OPAC in a web program such as GoLive in order to let the patrons search this field?
Hi Darla You are using koha 2.2.6 eh? What template set are you using? You want to find the opac-search.tmpl file for that template set. If its npl you want to add something like <tr valign="top"> <th><label for="newspaper">Reading Level:</label></th> <td><input type="hidden" name="marclist" value="521a" /> <input type="hidden" name="and_or" value="and" /> <input type="hidden" name="excluding" value="" /> <input type="hidden" name="operator" value="contains" /> <input type="text" id="level" name="value" /> </td> </tr> And that will give you an input field that you can enter into to search reading level (change 521a to whatever it should be) Hope this helps Chris -- Chris Cormack Programmer 027 4500 789 Katipo Communications Ltd chris@katipo.co.nz www.katipo.co.nz