CoreFiles by mySites.guru
6.0.1-2025-10-29.sql21 lines, 702 bytes, from Joomla_6.2.0-Stable-Full_Package.zip
Raw History Compare with 6.1.4
md5
420c1b24201179c2aafe42227c1f8088
sha1
09a843ae8497245a7784f5a4494e8c340bb5f332
sha256
bb692542375af16497b8a89df1a3e53e09b78fb9b53db253f8521a3972e6192a
UPDATE "#__menu"
SET "params" = jsonb_set(
    "params"::jsonb,
    '{featured_categories}',
    COALESCE(
        (
            SELECT jsonb_agg(to_jsonb(CASE WHEN elem = ' ' THEN '' ELSE elem END))
            FROM jsonb_array_elements_text("params"::jsonb->'featured_categories') AS t(elem)
        ),
        '[]'::jsonb
    ),
    false
)
WHERE ("params"::jsonb->'featured_categories') @> '[" "]'::jsonb
    AND "type" = 'component'
    AND "link" = 'index.php?option=com_content&view=featured';

UPDATE "#__menu"
SET "link" = REPLACE("link", '&catid[0]= ', '&catid[0]=')
WHERE "type" = 'component'
    AND "link" LIKE 'index.php?option=com_content&view=archive&catid[0]= %';

The same content is in 39 releases, Joomla 6.0.1-rc1 to 6.2.1-rc1. See them all, or every version of this file.