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" invisible projects #507

Merged
merged 1 commit into from
Jul 31, 2024
Merged

Conversation

mshriver
Copy link
Contributor

The pagination for project fetch for the header is hardcoded to 10 and doesn't iterate over pages.

This also indicates an issue with the controller implementation, because when filtering you still have invisble projects, because it will apply title filters after the page limit is applied.

Confirmed with admin/non-admin setting on an account. Without admin, the user did not have all 10+ projects that exist in RH production instance now, and could see the previously invisible project.

This was triggered by having more than 10 projects in production instance.

The pagination for project fetch for the header is hardcoded to 10 and
doesn't iterate over pages.

This also indicates an issue with the controller implementation, because
when filtering you still have invisble projects, because it will apply
title filters *after* the page limit is applied.

Confirmed with admin/non-admin setting on an account. Without admin, the
user did not have all 10+ projects that exist in RH production instance
now, and could see the previously invisible project.

This was triggered by having more than 10 projects in production
instance.
@mshriver mshriver added the bug Something isn't working label Jul 31, 2024
Copy link
Collaborator

@jjaquish jjaquish left a comment

Choose a reason for hiding this comment

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

LGTM

@mshriver mshriver merged commit c6f114f into ibutsu:master Jul 31, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants