Display 245$a as Title Case in TPAC user/jeff/tpac_title_case
authorJeff Godin <jgodin@tadl.org>
Wed, 25 Jul 2012 13:35:07 +0000 (09:35 -0400)
committerJeff Godin <jgodin@tadl.org>
Wed, 25 Jul 2012 13:35:07 +0000 (09:35 -0400)
commitc8f62906112ced2b28a8859f4706fcfd391e4f7a
tree3a06e172f65ddeff918b5d26ada23b02e7ec62e3
parent04611dffa458982ada067357e1b7aa54a075356c
Display 245$a as Title Case in TPAC

Using Lingua::EN::Titlecase, perform a "Title Case" case transform on the 245$a
value as displayed in TPAC.

TODO: Make this configurable, allow it to fail gracefully when
Lingua::EN::Titlecase is not present.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGWeb.pm
Open-ILS/src/templates/opac/parts/misc_util.tt2