Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

이슈 리스트 필터링 추가 #199

Open
TaeHyoungKwon opened this issue Feb 6, 2022 · 0 comments
Open

이슈 리스트 필터링 추가 #199

TaeHyoungKwon opened this issue Feb 6, 2022 · 0 comments

Comments

@TaeHyoungKwon
Copy link
Contributor

문제

  • 이슈 리스트에 모든 이슈들이 보여짐

해결

  • 현재 백엔드 기준, 승인 요청 중, 승인 거절 됨에 한해서 필터 해서 내려준다

조건

class CtrlfIssueStatus(models.TextChoices):
    REQUESTED = "REQUESTED", "요청"
    REJECTED = "REJECTED", "거절"
    APPROVED = "APPROVED", "승인"
    CLOSED = "CLOSED", "닫힘"

이 중에서, 요청 + 거절에 대해서 필터링 한다

절차

  • 생략

테스트

  • 각 상태에 대한 이슈를 4개 생성 했을 때, 최종 응답 결과는
    • 값이 2개 이어야 한다
    • 요청, 거절 중 1개 이어야 한다
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant