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

Fixes #36288 - Wrong listing of Content Views which contain Files #10622

Merged
merged 1 commit into from
Jul 21, 2023

Conversation

sjha4
Copy link
Member

@sjha4 sjha4 commented Jun 20, 2023

What are the changes introduced in this pull request?

Add file_id as a param to cv version API as bastion expects the API call to accept the parameter

Considerations taken when implementing this change?

What are the testing steps for this pull request?

  1. Create and sync file repo.
  2. Create some CVs with and some without file repo and publish a few versions.
  3. Go to Menu > Content > Files > One of the file units > Content views tab

Before PR:
Views shows all CV versions in the system. No file filter applied.
After PR:
Only CV versions that contain file unit are shown.

@theforeman-bot
Copy link

Issues: #36288

Copy link
Member

@ianballou ianballou left a comment

Choose a reason for hiding this comment

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

Looking good! Saw one issue that may be outside the scope of this PR:

The links aren't actually links for the content views:
image

@sjha4
Copy link
Member Author

sjha4 commented Jul 19, 2023

Looking good! Saw one issue that may be outside the scope of this PR:

The links aren't actually links for the content views: image

I will update the table. We are returning versions and trying to map them to CV names without versions I think in the tab.

@sjha4
Copy link
Member Author

sjha4 commented Jul 20, 2023

Ended up being a small change. Old code was linking to old CV UI.. 💀 😅

Copy link
Member

@ianballou ianballou left a comment

Choose a reason for hiding this comment

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

Looks good!

@sjha4 sjha4 merged commit 3c41dfe into Katello:master Jul 21, 2023
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants