Make tpac cache locale-aware
authorBill Erickson <berick@esilibrary.com>
Fri, 17 Aug 2012 14:11:50 +0000 (10:11 -0400)
committerDan Scott <dscott@laurentian.ca>
Sun, 19 Aug 2012 04:38:27 +0000 (00:38 -0400)
commit3eceabff412019fc0450f6ba2421bb3a934d7319
treefbcfe592a2ae39b1c661ad319a084801cad7d70a
parentf17e6fe6e191b0d99fb56cf9cfc2ac1bc1c5282e
Make tpac cache locale-aware

Add a locale level to the TPAC object cache.  Each component of the
cache now looks like $cache{$component}{$locale}{stuff...}

e.g. $cache{list}{en_ca}{aout} = [...] # en_ca-fetched org unit types

The calling code in the templates requires no changes (abstraction
FTW).

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Util.pm