What is going on here?
If you go to menus in the backend you will see this structure:
The same structure is there for Dutch and German. The parent menu is associated to the respective other parents. These parents are a category blog
and the children link to exactly the same category with the difference being that the submenus have a tag filter applied.
The association works fine just not the link building.
What I found out is that the code looks for the correct menu item but does not take into account the tag setting. So as it runs through the list of available items it always ends up with the last child that has the same link as the parent. In this example there is only 1 child but if you add 5 you will notice that the link always goes to submenu number 5.
The use case here is that you have an agenda category with 20 articles and related articles are grouped by tags. The parent shows all 20 items while the submenu show a subset of those 20 based on the applied tag.
I hope I have explained this in good enough detail.
Tagging @Hackwar as discussed
The language flag has the correct URL.
The language flag has the incorrect URL.
Joomla 3.8.8
PHP 7.1
MySQL 5.7
Labels |
Added:
?
|
Category | ⇒ | com_languages |
Status | New | ⇒ | Discussion |
I can confirm this too as I have this exact issue on two multilingual sites.
I can confirm this tag URL issue is real on a multilingual site
Status at Issue Tracker is "Discussion", so Issue is confirmed. Thanks for confirming.
Status | Discussion | ⇒ | Confirmed |
Labels |
Added:
J3 Issue
|
The issue is still present in april 2021.
I have confirmed this is still an issue with Joomla 4.
Please change the label to J4 on github
Labels |
Added:
No Code Attached Yet
J4 Issue
Removed: J3 Issue ? |
Labels |
Added:
bug
|
Confirm issue when Tags are used.