]> 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:07:07 +0000 (12:07 -0400)
commit67f6757e91abf632e2185b2d3d89a1b002f5fcf4
treeac1e32b794c42536b9be7893ea7839202796e19a
parent37fec6eb8cd4bedba2471c05c0496b9c67ae3e21
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/OpenILS/Application/Fielder.pm