#19685832 when module_srl is zero... condition is 'not in'. 'in' => 'not in' modify

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8329 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ovclas 2011-04-22 01:13:38 +00:00
parent 8a9e0dffd9
commit aee86c90ab

View file

@ -208,7 +208,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->module_srl === 0 || count($args->module_srl) > 10)) if($args->sort_index == 'list_order' && ($args->exclude_module_srl === 0 || count($args->module_srl) > 10))
{ {
$listSqlID = 'document.getDocumentListUseIndex'; $listSqlID = 'document.getDocumentListUseIndex';
$divisionSqlID = 'document.getDocumentDivisionUseIndex'; $divisionSqlID = 'document.getDocumentDivisionUseIndex';