Skip to content
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

filter_category_id not working when creating an admin menu link to only list articles of a certain category #44305

Open
marschland opened this issue Oct 18, 2024 · 3 comments

Comments

@marschland
Copy link

Steps to reproduce the issue

Create a menu item in the admin area to only list articles of a certain category chosen in the filter tab which results in a link like this: index.php?option=com_content&view=articles&filter_category_id=1

Expected result

A list of articles from only the chosen category.

Actual result

A list of all articles unfiltered.

System information (as much as possible)

Joomla 5.2.0 fresh install, upgraded from latest J4.

Additional comments

If I use the filter options in the article listing everything works fine. But when it should filter from a filter provided via URL nothing changes. The set filter from the article list does not change, no matter which URL I use to change the listing.

@brianteeman
Copy link
Contributor

Please try
administrator/index.php?option=com_content&view=articles&filter[category_id]=1

@marschland
Copy link
Author

Thank you, this is working as expected.

But: That should be the case when creating a link through the menu item's interface. Now I would have to manually enter every link as a system link and provide the ID of each category by hand. Since the site has around 30 categories whose articles need to be edited by the user, I would have to create 30 system links by hand entering each category ID by hand as well.

It would be great if the filter option could be fixed to create a functional link again.

Thank you again for the quick solution so we can keep working on the project.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/44305.

@brianteeman
Copy link
Contributor

Ah I see what you mean now.

I can confirm that the the links generated by Joomla when creating an admin menu item do not work correctly any more.

@Quy Quy added the bug label Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants