User tests: Successful: Unsuccessful:
Resolves #45609
This PR fixes the duplicate URL issue between Tagged Items menu and Popular Tags module. The fix removes the unnecessary ?types[0]=1 parameter from the URL when a "Tagged Items" menu item is configured to display only "Articles" content type.
Technical change:
components/com_tags/router.php (Joomla 4) / components/com_tags/src/Service/Router.php (Joomla 5)types parameter when it contains only value 1 (articles)Prerequisites:
Test Setup:
Before applying this PR:
?types[0]=1 parameterAfter applying this PR:
?types[0]=1 parameter)Menu URL :- http://localhost/joomla/index.php/tagged-items-articles?types[0]=1
Screenshot BEFORE Fixing in Menu

Module URL :- http://localhost/joomla/index.php/tagged-items-articles
Screenshot BEFORE Fixing in Module

Menu URL :- http://localhost/joomla/index.php/tagged-items-articles
Screenshot AFTER Fixing in Menu

Module URL :- http://localhost/joomla/index.php/tagged-items-articles
Screenshot AFTER Fixing in Module

Please select:
Documentation link for guide.joomla.org:
No documentation changes for guide.joomla.org needed
Pull Request link for manual.joomla.org:
No documentation changes for manual.joomla.org needed
| Status | New | ⇒ | Pending |
| Category | ⇒ | com_tags Front End |
| Labels |
Added:
PR-5.4-dev
|
||