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>
Mon, 20 Aug 2012 19:39:09 +0000 (15:39 -0400)
commit56cc05feeb80fc648bba5e6f6af36e902f216c78
treebb0db5a864447a69dbb10e392a47dbf72d98e441
parent875c24ddbc9e31722d975017194fd933f3028422
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