Fix incorrect caching of notification list

- readed=N 조건을 붙이지 않은 알림 목록 조회 요청도 캐싱되는 문제 수정
- "내 알림 목록" 화면에서는 레이아웃 등 다른 곳에서 불러오는 알림도
  getMyDispNotifyList로 처리되는 문제 수정
This commit is contained in:
Kijin Sung 2020-10-16 14:29:46 +09:00
parent 33077da47c
commit 4bab8c4961
2 changed files with 9 additions and 11 deletions

View file

@ -28,7 +28,7 @@ class ncenterliteView extends ncenterlite
{
$oNcenterliteModel = getModel('ncenterlite');
$output = $oNcenterliteModel->getMyNotifyList();
$output = $oNcenterliteModel->getMyNotifyList($this->user->member_srl, 1, null, true);
Context::set('total_count', $output->page_navigation->total_count);
Context::set('total_page', $output->page_navigation->total_page);