Skip to content

fix: Removes filtering for expandable queries - #3934

Merged
awildturtok merged 2 commits into
developfrom
fix/show-editorv2-queries
Aug 10, 2026
Merged

fix: Removes filtering for expandable queries#3934
awildturtok merged 2 commits into
developfrom
fix/show-editorv2-queries

Conversation

@awildturtok

Copy link
Copy Markdown
Collaborator

As that hides editorv2 queries from users, which they can actually use in editorv2

@awildturtok
awildturtok requested a review from thoniTUB as a code owner August 5, 2026 09:55
@awildturtok
awildturtok force-pushed the fix/show-editorv2-queries branch 2 times, most recently from 29db9d5 to 94ca1ee Compare August 5, 2026 14:15
Comment on lines +50 to +69
import jakarta.inject.Inject;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.validation.Validator;
import jakarta.ws.rs.BadRequestException;
import jakarta.ws.rs.core.Response;
import jakarta.ws.rs.core.UriBuilder;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import lombok.extern.slf4j.Slf4j;

import java.text.NumberFormat;
import java.time.LocalDate;
import java.util.*;
import java.util.concurrent.TimeUnit;
import java.util.function.Consumer;
import java.util.function.Predicate;
import java.util.stream.Collectors;
import java.util.stream.IntStream;
import java.util.stream.Stream;

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

In meinem Intellij ist die Sortierung auch wieder kaputt. Kannst es bitte einmal checken und ggf anpassen sodass die offiziellen (java/jakarta) wieder nachoben kommen

return switch (query) {
case ConceptQuery ignored -> true;
case SecondaryIdQuery ignored -> true;
case null, default -> false;

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Bitte einen Kommentar ran machen, wenn null das eigentlich ein Fehlerfall ist. Oder ist das legitim?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

ja guter Punkt, null kann vmtl gar nicht passieren

Comment on lines +135 to +136
QUERY_ID_8 = createExecutionId(DATASET_0, "9");
QUERY_ID_9 = createExecutionId(DATASET_0, "10");

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Suggested change
QUERY_ID_8 = createExecutionId(DATASET_0, "9");
QUERY_ID_9 = createExecutionId(DATASET_0, "10");
QUERY_ID_8 = createExecutionId(DATASET_0, "8");
QUERY_ID_9 = createExecutionId(DATASET_0, "9");

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

ah, danke. Musste den PR neu machen, hab das übersehen

@awildturtok
awildturtok force-pushed the fix/show-editorv2-queries branch from 94ca1ee to 967afcc Compare August 6, 2026 12:20
@awildturtok
awildturtok requested a review from thoniTUB August 6, 2026 13:34

@thoniTUB thoniTUB left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Noch die jakarta imports die an der falschen stelle sind

Comment on lines +60 to +65
import jakarta.inject.Inject;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.validation.Validator;
import jakarta.ws.rs.BadRequestException;
import jakarta.ws.rs.core.Response;
import jakarta.ws.rs.core.UriBuilder;

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

jakarta bitte und java packen

@awildturtok
awildturtok enabled auto-merge (squash) August 10, 2026 09:25
@awildturtok
awildturtok merged commit 84cb387 into develop Aug 10, 2026
11 checks passed
@thoniTUB thoniTUB added the bug label Aug 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants