Skip to content

Conversation

@sachmii
Copy link
Contributor

@sachmii sachmii commented Jan 20, 2026

Checklist

General

Server

Motivation and Context

Closes #1640.
Previously, when filtering for CIT in the departments view, the results wouldn't appear only after selecting another school.

Description

  • Manually setting schoolNames in DepartmentResource

Steps for Testing

Prerequisites:

  1. Log in to TumApply as admin
  2. Go to Departments section
  3. Filter for "CIT" and check that results appear

Review Progress

Code Review

  • Code Review 1

Manual Tests

  • Test 1

Test Coverage

Warning: Server tests failed. Coverage could not be fully measured. Please check the workflow logs.

Last updated: 2026-01-21 14:27:11 UTC

Screenshots

image

@sachmii sachmii self-assigned this Jan 20, 2026
@sachmii sachmii requested a review from az108 as a code owner January 20, 2026 09:15
@sachmii sachmii linked an issue Jan 20, 2026 that may be closed by this pull request
@github-actions github-actions bot added server Pull requests that update Java code. (Added Automatically!) user management Code changes in user management module. labels Jan 20, 2026
@github-actions
Copy link
Contributor

@sachmii Test coverage could not be fully measured because some tests failed. Please check the workflow logs for details.

@github-actions
Copy link
Contributor

📊 Server Test Coverage Too Low

🔍 View coverage locally:

./gradlew test jacocoTestReport
open build/reports/jacoco/test/html/index.html

🌐 View coverage from GitHub:
Download the "coverage-report-server" artifact from this workflow run.

@github-actions
Copy link
Contributor

@sachmii Test coverage could not be fully measured because some tests failed. Please check the workflow logs for details.

@github-actions
Copy link
Contributor

🤖 OpenAPI spec and client code auto-updated and committed.

@github-actions
Copy link
Contributor

@sachmii Test coverage could not be fully measured because some tests failed. Please check the workflow logs for details.

@github-actions
Copy link
Contributor

🤖 No OpenAPI or client changes needed.

Copy link
Contributor

@CelineLahnor CelineLahnor left a comment

Choose a reason for hiding this comment

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

LGTM! Tested it on the test server and it looks fine for me. Thank you :)

@sachmii sachmii added ready for merge PR is ready to merge and removed ready for review labels Jan 21, 2026
@github-actions
Copy link
Contributor

🤖 No OpenAPI or client changes needed.

@github-actions
Copy link
Contributor

@sachmii Test coverage could not be fully measured because some tests failed. Please check the workflow logs for details.

Copy link
Contributor

@Kiara65 Kiara65 left a comment

Choose a reason for hiding this comment

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

Works as expected, thank you 🥳

Comment on lines +86 to +89
String[] schoolNames = request.getParameterValues("schoolNames");
if (schoolNames != null) {
filterDTO.setSchoolNames(Arrays.asList(schoolNames));
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

why is this in the resource level

@az108 az108 removed the ready for merge PR is ready to merge label Jan 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

server Pull requests that update Java code. (Added Automatically!) user management Code changes in user management module.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CIT school filter not working in departments admin view

5 participants