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

adds predefined resolution sets for export form #2818

Merged
merged 1 commit into from
Nov 23, 2022

Conversation

thoniTUB
Copy link
Collaborator

No description provided.

@thoniTUB thoniTUB requested a review from awildturtok November 22, 2022 16:40
List<Resolution> resolutionsFlat = resolution.stream()
.flatMap(ResolutionShortNames::correspondingResolutions)
.distinct()
.toList();
Copy link
Collaborator

Choose a reason for hiding this comment

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

ich glaube set wäre hier sogar sinnvoller, du hast es ja eh schon distinct

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Es beeinflusst die Reihenfolge der DateContexts und somit die Sortierung der Zeilen in einem Export Formular ;)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Es soll immer grob nach fein sein

@@ -94,15 +96,20 @@ public void resolve(QueryResolveContext context) {
timeMode.resolve(context);
prerequisite = queryGroup.getQuery();

List<Resolution> resolutionsFlat = resolution.stream()
Copy link
Collaborator

Choose a reason for hiding this comment

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

Heißt das, dass ich effektiv ein Export Formular machen kann, mit mehreren unterschiedlichen Resolutions auf einmal?
Also geschlüsselt auf Quartale, und dann noch für's ganze Jahr?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Genau, das geht schon immer und das JupyEnd hat das auch schon immer so genutzt :)

@thoniTUB thoniTUB merged commit 265e23f into develop Nov 23, 2022
@delete-merged-branch delete-merged-branch bot deleted the feature/export_new_date_stratification branch November 23, 2022 11:23
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

Successfully merging this pull request may close these issues.

2 participants