mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-18 09:52:17 +09:00
added a language selector on multilingual search
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12060 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
9667b29c45
commit
e66e10c2c7
7 changed files with 111 additions and 28 deletions
|
|
@ -446,7 +446,7 @@
|
|||
{
|
||||
$siteModuleInfo = Context::get('site_module_info');
|
||||
$args->site_srl = (int)$site_module_info->site_srl;
|
||||
$args->langCode = Context::get('lang_type');
|
||||
$args->langCode = Context::get('lang_code');
|
||||
$args->page = Context::get('page');
|
||||
$args->sort_index = 'name';
|
||||
$args->order_type = 'asc';
|
||||
|
|
@ -455,6 +455,11 @@
|
|||
$args->list_count = Context::get('list_count');
|
||||
$args->page_count = 5;
|
||||
|
||||
if(!$args->langCode)
|
||||
{
|
||||
$args->langCode = Context::get('lang_type');
|
||||
}
|
||||
|
||||
$output = $this->getLangListByLangcode($args);
|
||||
|
||||
Context::set('total_count', $output->total_count);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue