From 846da6f91c411d57f0de3b7ced4706325b3e364a Mon Sep 17 00:00:00 2001 From: miker Date: Fri, 17 Sep 2010 13:32:31 +0000 Subject: [PATCH] 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/trunk@17757 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 335da6d800..98ffbf626f 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