Cache open-ils.fielder results by locale
authorDan Scott <dscott@laurentian.ca>
Sun, 16 Oct 2011 22:39:00 +0000 (18:39 -0400)
committerThomas Berezansky <tsbere@mvlc.org>
Tue, 18 Oct 2011 15:58:18 +0000 (11:58 -0400)
commitcefcbc4689b30b61fc53f1f3471b7c2a695934d7
treeb63cc484e531487a86466079739e7b577c3cfb63
parenta2aa3c98f8463f621335ee3d55d86bf97fa738d3
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>
Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Open-ILS/src/perlmods/lib/OpenILS/Application/Fielder.pm