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: many to many relations from DB did not work #1174

Merged
merged 1 commit into from
Jan 23, 2025

Conversation

gluafamichl
Copy link
Contributor

This PR fixes the wrong evaluation of many to many relations first seen in superhashlists.

Screenshot from old UI with correct display:
hashlist_old_ui

Screenshot from new UI with dev branch, many to many relations are wrong:
hashlist_new_ui_wrong

Screesnhot from new UI with fixes from this PR, display is correct again:
hashlist_new_ui_correct

See attached JSON files for exact results for this API call:
http://localhost:8080/api/v2/ui/hashlists?maxResults=25&startsAt=0&include=hashType,hashlists&filter[format__eq]=3

Dev-Branch:
many2one_old.json

Fix from this PR:
many2many_new.json

@gluafamichl gluafamichl requested a review from jessevz January 22, 2025 15:53
@jessevz jessevz merged commit 6297209 into dev Jan 23, 2025
1 check passed
@jessevz jessevz deleted the bug/1109-incorrect-many2many-relations branch January 23, 2025 08:22
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