]> git.evergreen-ils.org Git - Evergreen.git/commit
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 16:09:19 +0000 (12:09 -0400)
commit296264efe6fcef702bf87e1bf6dba3ced81b9645
tree299f8afa09b58972691b62e446a3559ab6ac5f65
parent0a3ba77bfb997d4896f9f8168057db39f4f14953
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