mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-22 05:15:29 +09:00
issue 160, fixed bug for checking use index
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9131 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
479d15afac
commit
6f0d7f9615
1 changed files with 1 additions and 1 deletions
|
|
@ -238,7 +238,7 @@
|
||||||
$division = (int)Context::get('division');
|
$division = (int)Context::get('division');
|
||||||
|
|
||||||
// order by list_order and (module_srl===0 or module_srl many count), therefore case table full scan
|
// order by list_order and (module_srl===0 or module_srl many count), therefore case table full scan
|
||||||
if($args->sort_index == 'list_order' && ($args->exclude_module_srl === 0 || count($args->module_srl) > 10))
|
if($args->sort_index == 'list_order' && ((int)$args->exclude_module_srl === 0 || count($args->module_srl) > 10))
|
||||||
{
|
{
|
||||||
$listSqlID = 'document.getDocumentListUseIndex';
|
$listSqlID = 'document.getDocumentListUseIndex';
|
||||||
$divisionSqlID = 'document.getDocumentDivisionUseIndex';
|
$divisionSqlID = 'document.getDocumentDivisionUseIndex';
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue