사용자정의 기준 정렬과 사용자정의 검색이 동시에 작동하도록 버그 수정#1143
Merged
2 commits merged intoMar 23, 2015
Merged
Conversation
현재 사용자정의 기준으로 정렬을 하면 getDocumentListExtraSort.xml 파일이 구현되고. 이 query 는 sort_index 대신 sort가 고정되어있고 사용자정의 기준으로 검색을 하면 getDocumentListWithinExtraVars.xml 파일이 실행되는데 이건 검색만 해당 eid 로 될뿐, 실제 정렬은 사용자정의를 제외한 일반 검색만 가능하게 되어있다. 이는 사용자정의 기준으로 정렬 설정을 해두고 사용자정의 검색할때뿐만 아니라. 기본 정렬 (등록일이나 문서번호) 로 정렬 후, 목록에서 사용자정의 기준으로 재정렬 한 후, 사용자정의 검색할때도 마찬가지로 결과가 안 나오는 문제가 발생한다. 결국 각각 다른 사용자정의 기준으로도 정렬 과 검색이 각각 될 수 있도록 테이블 3개를 join 한 새로운 query 를 추가하여 구현되도록 보완했다
사용자정의 기준의 검색과 정렬을 각각 할 수 있게 하기 위해 3개의 테이블을 join 하는 query 신규 추가
ghost
pushed a commit
that referenced
this pull request
Mar 23, 2015
사용자정의 기준 정렬과 사용자정의 검색이 동시에 작동하도록 버그 수정
This pull request was closed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
현재 사용자정의 기준으로 정렬을 하면 getDocumentListExtraSort.xml 파일이 구현되고.
이 query 는 sort_index 대신 sort가 고정되어있고
사용자정의 기준으로 검색을 하면 getDocumentListWithinExtraVars.xml 파일이 실행되는데
이건 검색만 해당 eid 로 될뿐, 실제 정렬은 사용자정의를 제외한 일반 검색만 가능하게 되어있다.
이는 사용자정의 기준으로 정렬 설정을 해두고 사용자정의 검색할때뿐만 아니라.
기본 정렬 (등록일이나 문서번호) 로 정렬 후, 목록에서 사용자정의 기준으로 재정렬 한 후, 사용자정의 검색할때도
마찬가지로 결과가 안 나오는 문제가 발생한다.
결국 각각 다른 사용자정의 기준으로도 정렬 과 검색이 각각 될 수 있도록
테이블 3개를 join 한 새로운 query 를 추가하여 구현되도록 보완했다