Hi Tony,
I believe in 2.3 there's a column in the database table
config.coded_value_map that defines that. It's called "search_label"
and you can set it to be whatever you want it to be for the
corresponding value.
-- Ben
On 12/10/2012 03:49 PM, Tony Bandy wrote:
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
[email protected] <mailto:[email protected]>
OHIONET
1500 West Lane Ave.
Columbus, OH 43221-3975
614-486-2966 x19
--
Benjamin Shum
Open Source Software Coordinator
Bibliomation, Inc.
32 Crest Road
Middlebury, CT 06762
203-577-4070, ext. 113