diff --git a/modules/document/document.controller.php b/modules/document/document.controller.php index f02019eb2..5d56ca2c2 100644 --- a/modules/document/document.controller.php +++ b/modules/document/document.controller.php @@ -1406,6 +1406,7 @@ class documentController extends document while(true) { $args = new stdClass(); $args->category_srl = $category_srl; + $args->list_count = 100; $args->page = ++$page; $output = executeQuery('document.getDocumentList', $args, array('document_srl')); @@ -1414,9 +1415,8 @@ class documentController extends document foreach($output->data as $val) { - $document_srl = $val->document_srl; //remove document item from cache - $cache_key = 'document_item:'. getNumberingPath($document_srl) . $document_srl; + $cache_key = 'document_item:'. getNumberingPath($val->document_srl) . $val->document_srl; $oCacheHandler->delete($cache_key); } }