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

sorting fkd #4647

Open
tttriple opened this issue Oct 15, 2024 · 0 comments
Open

sorting fkd #4647

tttriple opened this issue Oct 15, 2024 · 0 comments
Labels
back Backend bug Something isn't working front Frontend

Comments

@tttriple
Copy link
Collaborator

tttriple commented Oct 15, 2024

Image
Currently when using tiny arrows, sorting doesnt happen. plz fix. ty.

This only happens with some (large) degree programmes and when all year classes are combined. For example here sorting works but here it doesn't.

The probable cause is that students might have multiple study rights in the same programme, which causes them to appear in the table many times. This leads to rows having same keys which means React cannot correctly identify which row is which.

To fix this, we should make sure that each student only has one entry in the backend response. But which study right should we choose if there are many?

@tttriple tttriple converted this from a draft issue Oct 15, 2024
@tttriple tttriple moved this from Priority to Next in Oodikone Oct 15, 2024
@rikurauhala rikurauhala added bug Something isn't working front Frontend back Backend labels Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
back Backend bug Something isn't working front Frontend
Projects
Status: Next
Development

No branches or pull requests

2 participants