-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[6.0] Fix display of featured articles if "All Categories" selected #46374
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
base: 6.0-dev
Are you sure you want to change the base?
Conversation
This reverts commit 84c6ae2.
|
This change will not fix existing menu items |
Do you mean we need an update sql here? Info: This only affects menu entries that were newly created or re-saved under J6.0 |
|
yes it will need an update sql - otherwise you have to delete the settings and reselect "all categories" and save |
|
@richard67 Can you advise me on whether I'm on the right track with the SQL update and offer some support with PostgreSQL? |
@heelc29 On quick view the MySQL files doe not look wrong, but I won't have time before weekend to check deeper and do something for PostgreSQL. |
That's fine for me. |
REGEXP_REPLACE does not support backreferences in replacement string (mysql 8.0.13) All categories is always first index
administrator/components/com_admin/sql/updates/mysql/6.0.1-2025-10-29.sql
Outdated
Show resolved
Hide resolved
This reverts commit 7c62eea.
|
I have tested this item ✅ successfully on 3bba340 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/46374. |
Pull Request for Issue #46371 & #46334 .
Summary of Changes
This reverts PR #37140 as due update of choices #46133 the value for single space is now handle differently.
In J5.4 the parameter
featured_categoriesis saved asstring(0) ""and in J6.0 the parameter is saved asstring(1) " "Here is the relevant code for set the filter
filter.frontpage.categoriesjoomla-cms/components/com_content/src/Model/FeaturedModel.php
Lines 95 to 99 in 2afb305
Testing Instructions
create menu item
Featured Articlesand set filterSelect CategoriestoAll Categoriesvisit menuitem in frontend
see also issue #46371 for more information
additional check if issue #33556 still solved
Actual result BEFORE applying this Pull Request
no featured articles are displayed
Expected result AFTER applying this Pull Request
featured articles are displayed
Link to documentations
Please select: