-
-
Notifications
You must be signed in to change notification settings - Fork 315
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 page tagging condition: should_attach_to_menu? #1725
Fix page tagging condition: should_attach_to_menu? #1725
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. Although a duplicate of #1720 I prefer this fix because of readability. But please add a test.
@mickenorlen rebasing with latest |
431a512
to
2f2a2e6
Compare
2f2a2e6
to
b55b41b
Compare
b55b41b
to
a13d617
Compare
I guess I have to continuously commit --amend and force push to stay in single commit? Why don't you just squash merge the whole PR instead? |
I depends on how many commits are inside a PR. With small fixes like this it is ok to squash merge, but there are PRs that have a set of useful (git history wise) commits that needs to be preserved. Also it puts burden on the maintainer. And this burden is already very huge. For this PR is is fine, though |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the fix 👍
- Do not use deprecated methods [#1737](#1737) ([tvdeyen](https://github.com/tvdeyen)) - Order contents by their position in its element [#1733](#1733) ([tvdeyen](https://github.com/tvdeyen)) - Eager load relations in elements trash [#1732](#1732) ([tvdeyen](https://github.com/tvdeyen)) - Run CI builds with Sprockets 3.7.2 [#1731](#1731) ([tvdeyen](https://github.com/tvdeyen)) - Re-organize development dependencies [#1730](#1730) ([tvdeyen](https://github.com/tvdeyen)) - Update pr template [#1729](#1729) ([tvdeyen](https://github.com/tvdeyen)) - Generate views without _view in the filename [#1728](#1728) ([tvdeyen](https://github.com/tvdeyen)) - Fix CI Builds [#1727](#1727) ([tvdeyen](https://github.com/tvdeyen)) - Fix page tagging condition: should_attach_to_menu? [#1725](#1725) ([mickenorlen](https://github.com/mickenorlen)) - Fix Alchemy.user_class_name constant conflict [#1724](#1724) ([mickenorlen](https://github.com/mickenorlen))
What is this pull request for?
When tagging a page I got this error due to menu_id being an empty string, so i updated the condition.