Skip to content

Commit 1dc7c60

Browse files
committed
Merge remote-tracking branch 'upstream/5.3-dev' into 5.4-upmerge-2025-04-22
2 parents f5303c3 + 7830236 commit 1dc7c60

File tree

66 files changed

+141
-122
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+141
-122
lines changed

administrator/components/com_content/src/Model/ArticleModel.php

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,18 @@ protected function loadFormData()
587587
((isset($filters['published']) && $filters['published'] !== '') ? $filters['published'] : null)
588588
)
589589
);
590-
$data->set('catid', $app->getInput()->getInt('catid', (!empty($filters['category_id']) ? $filters['category_id'] : null)));
590+
591+
// If multiple categories are filtered, pick the first one to avoid loading all fields
592+
$filteredCategories = $filters['category_id'] ?? null;
593+
$selectedCatId = null;
594+
595+
if (\is_array($filteredCategories)) {
596+
$selectedCatId = (int) reset($filteredCategories);
597+
} elseif (!empty($filteredCategories)) {
598+
$selectedCatId = (int) $filteredCategories;
599+
}
600+
601+
$data->set('catid', $app->getInput()->getInt('catid', $selectedCatId));
591602

592603
if ($app->isClient('administrator')) {
593604
$data->set('language', $app->getInput()->getString('language', (!empty($filters['language']) ? $filters['language'] : null)));

administrator/components/com_guidedtours/src/Helper/GuidedtoursHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
class GuidedtoursHelper
2525
{
2626
/**
27-
* Load the translation files for an Guided Tour
27+
* Load the translation files for a Guided Tour
2828
*
2929
* @param string $uid Guided Tour Unique Identifier
3030
* @param boolean $steps Should tour steps language file be loaded

administrator/components/com_guidedtours/src/View/Step/HtmlView.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
// phpcs:enable PSR1.Files.SideEffects
2424

2525
/**
26-
* View to edit an Step
26+
* View to edit a Step
2727
*
2828
* @since 4.3.0
2929
*/

administrator/components/com_guidedtours/src/View/Tour/HtmlView.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
// phpcs:enable PSR1.Files.SideEffects
2424

2525
/**
26-
* View to edit an tour.
26+
* View to edit a tour.
2727
*
2828
* @since 4.3.0
2929
*/

administrator/components/com_installer/src/Model/InstallModel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ protected function _getPackageFromUpload()
329329

330330
// Move uploaded file.
331331
try {
332-
File::upload($tmp_src, $tmp_dest, false, true);
332+
File::upload($tmp_src, $tmp_dest);
333333
} catch (FilesystemException) {
334334
Factory::getApplication()->enqueueMessage(Text::_('COM_INSTALLER_MSG_INSTALL_WARNINSTALLUPLOADERROR'), 'error');
335335

administrator/components/com_joomlaupdate/src/Model/UpdateModel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -994,7 +994,7 @@ public function upload()
994994

995995
// Move uploaded file.
996996
try {
997-
File::upload($tmp_src, $tmp_dest, false);
997+
File::upload($tmp_src, $tmp_dest);
998998
} catch (FilesystemException $exception) {
999999
throw new \RuntimeException(Text::_('COM_INSTALLER_MSG_INSTALL_WARNINSTALLUPLOADERROR'), 500, $exception);
10001000
}

administrator/components/com_media/resources/scripts/components/browser/browser.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
<div
3131
v-if="isEmpty"
3232
class="text-center"
33-
style="display: grid; justify-content: center; align-content: center; margin-top: -1rem; color: var(--gray-200); height: 100%;"
33+
style="display: grid; justify-content: center; align-content: center; color: var(--gray-200); height: 100%;"
3434
>
3535
<span
3636
class="fa-8x icon-cloud-upload upload-icon"

build/media_source/templates/administrator/atum/scss/blocks/_form.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,8 @@ label.valid {
164164
}
165165

166166
.filter-search-bar__description {
167-
bottom: 100%;
167+
top: 100%;
168+
bottom: auto;
168169
}
169170

170171
.container-popup .filter-search-bar__description {

build/media_source/templates/site/cassiopeia/scss/blocks/_form.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ td .form-control {
9696

9797
&[id^=id-skip-] {
9898
right: auto;
99+
max-width: unset;
99100
}
100101

101102
&[id^=cbunpublish] {

build/media_source/vendor/tinymce/langs/da.es5.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ tinymce.addI18n('da',{
120120
"Source": "Kilde",
121121
"Dimensions": "Dimensioner",
122122
"Constrain proportions": "Behold propertioner",
123-
"General": "Generet",
123+
"General": "Generelt",
124124
"Advanced": "Avanceret",
125125
"Style": "Stil",
126126
"Vertical space": "Lodret afstand",

0 commit comments

Comments
 (0)