CoreFiles by mySites.guru
6.0.0-2025-09-26.sql32 lines, 745 bytes, from Joomla_6.0.3-Stable-Full_Package.zip
Raw History Compare with 6.0.2
md5
daf12088c63b1f7663da0d604865597f
sha1
172d42337351293bce711d09e358955bcfe901c9
sha256
8fb4e8b782f5c3403de65eba20ce5280153b2fe78491d088d840f1b3e0fdb6a1
-- Update content types for lookup tags

UPDATE `#__content_types`
SET `content_history_options` = JSON_ARRAY_APPEND(
	`content_history_options`,
	'$.displayLookup',
	JSON_OBJECT(
		'sourceColumn', 'tags',
		'targetTable', '#__tags',
		'targetColumn', 'id',
		'displayColumn', 'title'
		)
	)
WHERE `type_alias` IN (
		 'com_content.article',
		 'com_contact.contact',
		 'com_newsfeeds.newsfeed',
		 'com_content.category',
		 'com_contact.category',
		 'com_newsfeeds.category',
		 'com_banners.category',
		 'com_users.category'
	)
AND NOT JSON_CONTAINS(
	JSON_EXTRACT(`content_history_options`, '$.displayLookup'),
	JSON_OBJECT(
		'sourceColumn', 'tags',
		'targetTable', '#__tags',
		'targetColumn', 'id',
		'displayColumn', 'title'
		)
	);

The same content is in 43 releases, Joomla 6.0.0-rc4 to 6.3.0-alpha1. See them all, or every version of this file.