Fix #1283 do not show comments on secret documents in integration search

This commit is contained in:
Kijin Sung 2020-05-17 20:06:27 +09:00
parent 49a1c52913
commit f1c15ab1e1
6 changed files with 29 additions and 25 deletions

View file

@ -52,8 +52,7 @@ class commentAdminView extends comment
// get a list by using comment->getCommentList.
$oCommentModel = getModel('comment');
$secretNameList = $oCommentModel->getSecretNameList();
$columnList = array('comment_srl', 'document_srl','module_srl','is_secret', 'status', 'content', 'comments.member_srl', 'comments.nick_name', 'comments.regdate', 'ipaddress', 'voted_count', 'blamed_count');
$output = $oCommentModel->getTotalCommentList($args, $columnList);
$output = $oCommentModel->getTotalCommentList($args);
// $modules = $oCommentModel->getDistinctModules();
// $modules_list = $modules;