Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
-- Update the com_templates options to add the diff options
UPDATE `#__extensions` SET `params` = REPLACE(`params`, '}', ',"difference":"SideBySide"}') WHERE `name` = 'com_templates';
-- The SQL statement had to be removed, see https://github.com/joomla/joomla-cms/pull/40535
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
UPDATE `#__extensions`
SET `params` = '{"template_positions_display":"0","upload_limit":"10","image_formats":"gif,bmp,jpg,jpeg,png,webp","source_formats":"txt,less,ini,xml,js,php,css,scss,sass,json","font_formats":"woff,woff2,ttf,otf","compressed_formats":"zip","difference":"SideBySide"}'
WHERE `name` = 'com_templates' AND `params` IN ('{,"difference":"SideBySide"}', '{}', '');
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
-- Update the com_templates options to add the diff options
UPDATE "#__extensions" SET "params" = REPLACE("params", '}', ',"difference":"SideBySide"}') WHERE "name" = 'com_templates';
-- The SQL statement had to be removed, see https://github.com/joomla/joomla-cms/pull/40535
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
UPDATE "#__extensions"
SET "params" = '{"template_positions_display":"0","upload_limit":"10","image_formats":"gif,bmp,jpg,jpeg,png,webp","source_formats":"txt,less,ini,xml,js,php,css,scss,sass,json","font_formats":"woff,woff2,ttf,otf","compressed_formats":"zip","difference":"SideBySide"}'
WHERE "name" = 'com_templates' AND "params" IN ('{,"difference":"SideBySide"}', '{}', '');
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@
$difference = DiffHelper::calculateFiles(
$this->source->coreFile,
$this->source->filePath,
ComponentHelper::getParams('com_templates')->get('difference', 'SideByside'),
ComponentHelper::getParams('com_templates')->get('difference', 'SideBySide'),
[
'context' => 1,
'ignoreLineEnding' => true,
Expand Down