OU locale lookup needs a bit more work, it needs to pass a language instead of an...
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 17 Sep 2010 13:32:31 +0000 (13:32 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 17 Sep 2010 13:32:31 +0000 (13:32 +0000)
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

index 335da6d..98ffbf6 100644 (file)
@@ -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);