Make tpac cache locale-aware
authorBill Erickson <berick@esilibrary.com>
Fri, 17 Aug 2012 14:11:50 +0000 (10:11 -0400)
committerBill Erickson <berick@esilibrary.com>
Mon, 20 Aug 2012 20:16:56 +0000 (16:16 -0400)
commitd2f0443d1299e4593fb6a3998c63addb137fc17a
tree190f9e60efe31ecb34ead2459af32482c47c12b7
parent7339fcdfdc41e6dee2fc7a5eac058313646342d4
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