@ -128,7 +128,7 @@ unset($_REQUEST['parent_id']);
}
$count = I('oa_associated') ? count($list_data) : D(self::model_name)->count();
$count = (I('oa_associated') || !is_null(I('oa_associated') )) ? D(self::model_name)->where($map)->count() : D(self::model_name)->count();
$page = set_pagination($count,$row);
if($page) {$this->assign('_page', $page);}
$this->assign('list_data', $list_data);