From b9d561bbdcef659191c6057d37692f0f8929d2fe Mon Sep 17 00:00:00 2001 From: miker Date: Fri, 17 Sep 2010 13:33:07 +0000 Subject: [PATCH] Backport r17757 from trunk: OU locale lookup needs a bit more work, it needs to pass a language instead of an xx-YY locale string git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@17758 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/perlmods/OpenILS/Application/Search/Biblio.pm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Search/Biblio.pm b/Open-ILS/src/perlmods/OpenILS/Application/Search/Biblio.pm index a26c656fa1..951226866f 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Search/Biblio.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Search/Biblio.pm @@ -789,8 +789,10 @@ sub multiclass_query { if $sclient->config_value(apps => 'open-ils.search', app_settings => 'use_staged_search') =~ /true/i; - $arghash->{preferred_language} = $U->get_org_locale($arghash->{org_unit}) - unless $arghash->{preferred_language}; + # XXX This stops the session locale from doing the right thing. + # XXX Revisit this and have it translate to a lang instead of a locale. + #$arghash->{preferred_language} = $U->get_org_locale($arghash->{org_unit}) + # unless $arghash->{preferred_language}; $method = $self->method_lookup($method); my ($data) = $method->run($arghash, $docache); -- 2.11.0