]> git.evergreen-ils.org Git - working/Evergreen.git/commit
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>
Mon, 9 Apr 2012 01:14:27 +0000 (21:14 -0400)
commit3caf5a7f4e279219557d93ae231b228e844b5951
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>
Signed-off-by: Ben Shum <bshum@biblio.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