Skip to content

getDocumentPage에 category적용해주세요 #12

@khongchi

Description

@khongchi

https://code.google.com/p/xe-core/issues/detail?id=1241

Reported by sungbu...@gmail.com, Dec 26, 2011
게시판이나 기타 모듈에서 글 본문을 볼 때 category는 있고, page는 없이 페이지를 요청할 경우
글 본문 하단의 글리스트에서 페이지를 제대로 찾지 못함
예) mydomain.com/?document_srl=32&category=234 // page값 지정 안됨

원인: 만약 page값없이 글본문을 보려고하면 getDocumentPage(document 모델)함수에서 현재본문이 포함된 페이지를 찾아오는데, 설정되어 있는 category가 고려되지 않고 페이지를 찾아냄.
따라서 category가 지정되어 있을 경우 정확한 목록이 노출되지 않음

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions