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 computation of joins inside nested objects #15123

Closed
wants to merge 1 commit into from

Conversation

cconard96
Copy link
Contributor

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets -

While working on pluginsGLPI/fields#670 I found that joins were not working for the custom fields.
Until now, joins where only needed for top-level properties like the location property. The nested properties like location.id were always scalar properties.
For the fields plugin, the complex nature of the DB schema where each field is in its own table, the joins were nested. There is a custom_fields object property and then for each field, there is a child object which has the join info.

This is still a draft until I fix remaining issues with the fields plugin integration.

@cconard96 cconard96 force-pushed the fix/joins_nested_objs branch from 189f80b to e85574c Compare September 19, 2023 21:05
@cconard96
Copy link
Contributor Author

Replaced by #15788

@cconard96 cconard96 closed this Oct 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants