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

[v6.1] Bugfix: Init PagePublicationFields on Pages Table #2530

Conversation

mamhoff
Copy link
Contributor

@mamhoff mamhoff commented Jul 31, 2023

What is this pull request for?

On the sitemap and on the Edit page, Alchemy::PagePublicationFields is run. On the table, it isn't, leading to behavior where an admin cannot un-publish or publish a page from the pages table.

Backport of #2528

Checklist

  • I have followed Pull Request guidelines
  • I have added a detailed description into each commit message
  • I have added tests to cover this change

@tvdeyen tvdeyen changed the title [v6.1] Bugfix: Run PagePublicationFields on Pages Table [v6.1] Bugfix: Init PagePublicationFields on Pages Table Jul 31, 2023
app/views/alchemy/admin/pages/_table.html.erb Outdated Show resolved Hide resolved
On the Sitemap and on the Edit page, `Alchemy::PagePublicationFields` is
initialized. On the table, it isn't, leading to behavior where an admin cannot
un-publish or publish a page from the pages table.
@mamhoff mamhoff force-pushed the 6.1-fix-page-publication-fields-on-pages-table branch from 8255565 to 3f05dca Compare July 31, 2023 13:04
@tvdeyen tvdeyen merged commit 02a0c6a into AlchemyCMS:6.1-stable Jul 31, 2023
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants