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

Fix #2002 remove degrees and course types from contributor export header #2045

Closed
wants to merge 3 commits into from

Conversation

Tillbtn
Copy link
Collaborator

@Tillbtn Tillbtn commented Oct 23, 2023

closes #2002

@janno42
Copy link
Member

janno42 commented Oct 23, 2023

As discussed, this removes the list of degrees and course types globally from the exporter. Instead, you should provide a new parameter that decides whether these values are written to the Excel file or not. The filtering should still be applied.

@Tillbtn Tillbtn reopened this Oct 23, 2023
Copy link
Member

@richardebeling richardebeling left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good, thanks :)

_("{}\n\n{}\n\n{}").format(export_name, ", ".join(degree_names), ", ".join(course_type_names)), "headline"
)
if verbose_heading:
self.write_cell(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The two paths here are not tested. Testing this should be relatively simple, can you add a small test for the two different headers? (Either at the view level by using two views that use the exporter here, or directly testing the exporter. Not quire sure which makes more sense, it feels like the view level would be a bit more stable)

@janno42
Copy link
Member

janno42 commented Nov 6, 2023

Continued in #2057

@janno42 janno42 closed this Nov 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Remove degrees and course types from contributor export header
3 participants