-
Notifications
You must be signed in to change notification settings - Fork 1
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
feat: add new csv view with total for gangs #1635
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Denne løser ikke det andre problemet nevt i issuet. I CSVen som lages for en gang skal kun antall intervjuer for den gjengen vises. I tillegg innser jeg at det kanskje er best å gjøre det samme for søkers prioritet. Så da burde kanskje tittelen på kolonnen bli "Søkers rangering av verv i denne gjengen" og "Intervjuer satt i denne gjengen"
I dette bilde har f.eks. Simen kun søkt to stillinger i VK, men det vises x av 4 intervjuer satt.
backend/samfundet/urls.py
Outdated
@@ -135,6 +135,11 @@ | |||
views.RecruitmentRecruiterDashboardView.as_view(), | |||
name='recruitment_recruiter_dashboard', | |||
), | |||
path( | |||
'recruitment-download-applications-csv/<int:recruitment_id>/', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'recruitment-download-applications-csv/<int:recruitment_id>/', | |
'recruitment-download-all-applications-csv/<int:recruitment_id>/', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
backend/samfundet/views.py
Outdated
@@ -1150,6 +1150,63 @@ def get( | |||
return Response(data=RecruitmentPositionSharedInterviewGroupSerializer(interview_groups, many=True).data, status=status.HTTP_200_OK) | |||
|
|||
|
|||
class DownloadRecruitmentApplicationCSV(APIView): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
class DownloadRecruitmentApplicationCSV(APIView): | |
class DownloadAllRecruitmentApplicationCSV(APIView): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
Det er fikset |
closes #1432
Also added the other csv view for recruitment as a whole