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

[Bug]: Fix GridView Performance and results #767

Merged
merged 2 commits into from
Nov 25, 2024
Merged

[Bug]: Fix GridView Performance and results #767

merged 2 commits into from
Nov 25, 2024

Conversation

kingjia90
Copy link
Contributor

@kingjia90 kingjia90 commented Nov 25, 2024

Resolves #700

Additional Info

I'd would just fix it like this, it is the exact well covered and tested and safe/consistent code, also seen on search
https://github.com/pimcore/pimcore/blob/3ffaeac8d9f07f877ea4f469015be1774de447b9/bundles/SimpleBackendSearchBundle/src/Controller/SearchController.php#L403-L459

Initially tried to stick with the tree "approach", but in the grid, there is no need to care about listing permission as we are not navigating within a tree

Copy link

sonarcloud bot commented Nov 25, 2024

Quality Gate Failed Quality Gate failed

Failed conditions
1 New Critical Issues (required ≤ 0)
7 New Major Issues (required ≤ 0)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Copy link
Contributor

@mattamon mattamon left a comment

Choose a reason for hiding this comment

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

Tested it and got reliable results, also when testing the SQL Query directly in the database. LGTM

@mattamon mattamon mentioned this pull request Nov 25, 2024
2 tasks
@kingjia90 kingjia90 self-assigned this Nov 25, 2024
@kingjia90 kingjia90 merged commit a7bf22e into 1.6 Nov 25, 2024
9 of 10 checks passed
@kingjia90 kingjia90 deleted the grid-perfomance branch November 25, 2024 13:14
@github-actions github-actions bot locked and limited conversation to collaborators Nov 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

GridView Performance Degradation with Multiple Roles and Workspaces
2 participants