-
Notifications
You must be signed in to change notification settings - Fork 33
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 automatic slug update on sbs form #2842
base: develop
Are you sure you want to change the base?
Conversation
Code Climate has analyzed commit 60fa805 and detected 0 issues on this pull request. The test coverage on the diff in this pull request is 100.0% (50% is the threshold). This pull request will bring the total coverage in the repository to 82.9%. View more on Code Climate. |
cfea3b7
to
cd23bd9
Compare
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.
Thank you for the PR 👍
Hmm, it would be cool if slugify_ajax()
could be used here too instead of building another function 🤔 Having two different functions, we probably forget to update one of them if the logic changes in the future.
@MizukiTemma wouldn't using the slugify_ajax() method mean that the slug is only updated when saving the form (backend)? |
@theresantonie
|
@MizukiTemma If this works the same, it is probably better to use an existing function. 👍 |
|
Yes, in |
a27c364
to
695c778
Compare
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.
Looks good 🎉 Thank you 😸
☝️ Only release note is left 😁
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.
ec880a6
to
5750540
Compare
Short description
Currently the sbs form slug of the target language is not updated after the title change. It should be updated after the title of the page changes.
Proposed changes
Side effects
Resolved issues
Fixes: #2797
Pull Request Review Guidelines