[open-ils-commits] r17758 - branches/rel_2_0/Open-ILS/src/perlmods/OpenILS/Application/Search (miker)
svn at svn.open-ils.org
svn at svn.open-ils.org
Fri Sep 17 09:33:09 EDT 2010
Author: miker
Date: 2010-09-17 09:33:07 -0400 (Fri, 17 Sep 2010)
New Revision: 17758
Modified:
branches/rel_2_0/Open-ILS/src/perlmods/OpenILS/Application/Search/Biblio.pm
Log:
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
Modified: branches/rel_2_0/Open-ILS/src/perlmods/OpenILS/Application/Search/Biblio.pm
===================================================================
--- branches/rel_2_0/Open-ILS/src/perlmods/OpenILS/Application/Search/Biblio.pm 2010-09-17 13:32:31 UTC (rev 17757)
+++ branches/rel_2_0/Open-ILS/src/perlmods/OpenILS/Application/Search/Biblio.pm 2010-09-17 13:33:07 UTC (rev 17758)
@@ -789,8 +789,10 @@
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);
More information about the open-ils-commits
mailing list