Cache open-ils.fielder results by locale user/dbs/fielder-locale-cache-key
authorDan Scott <dscott@laurentian.ca>
Sun, 16 Oct 2011 22:39:00 +0000 (18:39 -0400)
committerDan Scott <dscott@laurentian.ca>
Sun, 16 Oct 2011 22:46:01 +0000 (18:46 -0400)
commit30e856671171c0a919aefdfee2c972ea2eb31a3b
tree51630b4bb6b126107b5d8c7f6f3580624400fd72
parenta816a7136c1947d6bda773dae30647e102849a55
Cache open-ils.fielder results by locale

The problem was particularly visible in search facets, but existed
before: the cache key used for fielder results did not take locale into
account, so on a multi-locale system the first locale won and populated
the cache for all other locales.

Use a session locale if provided, otherwise default to the locale set in
opensrf.xml

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Open-ILS/src/perlmods/lib/OpenILS/Application/Fielder.pm