Coded Value Maps Opac Visible/Search Labels
authorThomas Berezansky <tsbere@mvlc.org>
Thu, 29 Mar 2012 19:37:07 +0000 (15:37 -0400)
committerThomas Berezansky <tsbere@mvlc.org>
Thu, 5 Apr 2012 18:33:34 +0000 (14:33 -0400)
commit41313505ad647c1feb54f4234ffe5bd2a1e0e87b
tree4f3586b4c0e163e63e85f4615ee770909ac489fb
parent4643f3613ad57ad4cdcf99a9bf17faf4c63870af
Coded Value Maps Opac Visible/Search Labels

Add two new fields to Coded Value Maps:

1 - Opac Visible, for "does this show up in opac limiter boxes"
2 - Search Label, for "what does this get called for those boxes"

Intended use cases include:

Re-labeling MARC fields without changing the base MARC information, say
because you don't expect patrons to understand "Projected Medium".

Hiding things that don't apply, say the vast majority of language limiters,
without needing to delete rows.

I also hooked it up in JSPac, because it was easy to do so.

Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Open-ILS/examples/fm_IDL.xml
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Util.pm
Open-ILS/src/sql/Pg/002.schema.config.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.tpac_value_maps.sql [new file with mode: 0644]
Open-ILS/src/templates/conify/global/config/coded_value_map.tt2
Open-ILS/src/templates/opac/parts/coded_value_selector.tt2
Open-ILS/web/opac/skin/default/js/adv_global.js