[OPEN-ILS-GENERAL] TPAC 2.3 Advanced Search Filters--any thoughts?

Tony Bandy tonyb at ohionet.org
Mon Dec 10 15:49:36 EST 2012


Hi all,

Working with some of our libraries on the 2.3 TPAC this afternoon, they
wanted to change some of the labels included in the lists under "Literary
Form", "Audience", and "Item Type".

However, I'm not quite sure where to go to do that.  So far, I've searched
the following:

--
http://www.open-ils.org/dokuwiki/doku.php?id=dev:opac:template-toolkit#the_code
--http://docs.evergreen-ils.org/2.3/_tpac_url.html
--http://template-toolkit.org/docs/index.html

Right now, I'm digging into config.tt2, where is mentions the following:

Define the advanced search limiters and labels.
# adv_label is the (translated) label for the limiter
# adv_attr is an array of possible limiters, the first one that has any
#   values will be used
# adv_filter is the same as adv_attr, but for search filter groups
# adv_break will end the current row. If specified with a label/attr it
#   will do so *after* that limiter.
# adv_special will drop in a special entry:
#   lib_selector will put the search library box (with limit to available)
#   pub_year will put the publication year box
#   sort_selector will put the sort results selector

search.adv_config = [
    {adv_label => l("Item Type"), adv_attr => ["mattype", "item_type"]},
    {adv_label => l("Item Form"), adv_attr => "item_form"},
    {adv_label => l("Language"),  adv_attr => "item_lang"},


But I'm not seeing anything for the Search Filters option...would that be
the adv_filter?  Should I just enter some strings similar to the
search.adv_config lines above?

If you have any links or information on how to do this, I would be
eternally grateful.....

Tony
-- 
Tony Bandy
tonyb at ohionet.org
OHIONET
1500 West Lane Ave.
Columbus, OH  43221-3975
614-486-2966 x19
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://libmail.georgialibraries.org/pipermail/open-ils-general/attachments/20121210/7107a43e/attachment.htm>


More information about the Open-ils-general mailing list