-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
[3.9-alpha] [mod_articles_category] Make sure the tag does not conflict with the title of the article #21937
Conversation
This breaks ordering. |
What do you mean? Without this the ordering is always different per language and can result into false positives when the article title is the same like the translation. Not to forget some maybe illegal chars for an array key in the translation. |
Alphabetical ordering. |
I have merged your PR. Thanks! |
Not clear what should happen here. Without patch: list is rendered, with the new tagged article at the bottom of the list. With patch: list is rendered, with the new tagged article at the top of the list. Is this the expected outcome? This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/21937. |
I have tested this item ✅ successfully on cc3be04 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/21937. |
I have tested this item ✅ successfully on cc3be04 Without patch: tagged article appears in Untagged items This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/21937. |
Ready to Commit after two successful tests. |
I have tested this item ✅ successfully on cc3be04 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/21937. |
Thanks 👍 |
Pull Request for Issue #21083
Summary of Changes
I have moved the translation part to the view so the code does not work different on different languages. As currently the array key is the translated word already and in that case have different results depending on the used language this patch makes sure the result is always the same on all languages by translating the key later.
Testing Instructions
Expected result
Joomla differentiate now between actually tagged and not tagged articles.
Actual result
Joomla does not differentiate between actually tagged and not tagged articles.
Documentation Changes Required
None.
cc @SharkyKZ as original author of the PR #21083