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 #26453 - Table output allows to hide fields with no error #299

Merged
merged 1 commit into from
Mar 26, 2019

Conversation

orrabin
Copy link
Member

@orrabin orrabin commented Mar 26, 2019

No description provided.

@orrabin
Copy link
Member Author

orrabin commented Mar 26, 2019

@ofedoren could you take a look at this please? you fixed the bug originally and it was introduced again by new code.

Copy link
Member

@ofedoren ofedoren left a comment

Choose a reason for hiding this comment

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

Thanks, @orrabin! Somehow I missed this (I've fixed and I've broken :) )

See inline comment, otherwise I'd like to merge it straight away.

if @context[:verbosity] >= collection.meta.pagination_verbosity &&
collection.respond_to?(:meta) && collection.meta.pagination_set? &&
if collection.respond_to?(:meta) && collection.meta.pagination_set? &&
@context[:verbosity] >= collection.meta.pagination_verbosity &&
Copy link
Member

Choose a reason for hiding this comment

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

Just a small nitpick: redundant leading space before @context...

@orrabin
Copy link
Member Author

orrabin commented Mar 26, 2019

@ofedoren thanks for the review, I fixed the spacing

@ofedoren
Copy link
Member

@orrabin, thanks! Merged.

@ofedoren ofedoren merged commit 162d13b into theforeman:master Mar 26, 2019
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.

3 participants