Make tpac cache locale-aware collab/berick/tpac-localize-object-cache
authorBill Erickson <berick@esilibrary.com>
Fri, 17 Aug 2012 14:11:50 +0000 (10:11 -0400)
committerBill Erickson <berick@esilibrary.com>
Fri, 17 Aug 2012 14:11:50 +0000 (10:11 -0400)
commit08fa061cf72f2aa7e1fb7679335cf12b46833fcc
tree581e3e3849bc107a0daf022937d482f8e4f5d369
parent26e5f5b4221f0bec7db7fa1eb90fb0868ab675b3
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>
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Util.pm