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
13 changes: 12 additions & 1 deletion administrator/components/com_content/src/Model/ArticleModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -587,7 +587,18 @@ protected function loadFormData()
((isset($filters['published']) && $filters['published'] !== '') ? $filters['published'] : null)
)
);
$data->set('catid', $app->getInput()->getInt('catid', (!empty($filters['category_id']) ? $filters['category_id'] : null)));

// If multiple categories are filtered, pick the first one to avoid loading all fields
$filteredCategories = $filters['category_id'] ?? null;
$selectedCatId = null;

if (\is_array($filteredCategories)) {
$selectedCatId = (int) reset($filteredCategories);
} elseif (!empty($filteredCategories)) {
$selectedCatId = (int) $filteredCategories;
}

$data->set('catid', $app->getInput()->getInt('catid', $selectedCatId));

if ($app->isClient('administrator')) {
$data->set('language', $app->getInput()->getString('language', (!empty($filters['language']) ? $filters['language'] : null)));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
class GuidedtoursHelper
{
/**
* Load the translation files for an Guided Tour
* Load the translation files for a Guided Tour
*
* @param string $uid Guided Tour Unique Identifier
* @param boolean $steps Should tour steps language file be loaded
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
// phpcs:enable PSR1.Files.SideEffects

/**
* View to edit an Step
* View to edit a Step
*
* @since 4.3.0
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
// phpcs:enable PSR1.Files.SideEffects

/**
* View to edit an tour.
* View to edit a tour.
*
* @since 4.3.0
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ protected function _getPackageFromUpload()

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -994,7 +994,7 @@ public function upload()

// Move uploaded file.
try {
File::upload($tmp_src, $tmp_dest, false);
File::upload($tmp_src, $tmp_dest);
} catch (FilesystemException $exception) {
throw new \RuntimeException(Text::_('COM_INSTALLER_MSG_INSTALL_WARNINSTALLUPLOADERROR'), 500, $exception);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<div
v-if="isEmpty"
class="text-center"
style="display: grid; justify-content: center; align-content: center; margin-top: -1rem; color: var(--gray-200); height: 100%;"
style="display: grid; justify-content: center; align-content: center; color: var(--gray-200); height: 100%;"
>
<span
class="fa-8x icon-cloud-upload upload-icon"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,8 @@ label.valid {
}

.filter-search-bar__description {
bottom: 100%;
top: 100%;
bottom: auto;
}

.container-popup .filter-search-bar__description {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ td .form-control {

&[id^=id-skip-] {
right: auto;
max-width: unset;
}

&[id^=cbunpublish] {
Expand Down
2 changes: 1 addition & 1 deletion build/media_source/vendor/tinymce/langs/da.es5.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ tinymce.addI18n('da',{
"Source": "Kilde",
"Dimensions": "Dimensioner",
"Constrain proportions": "Behold propertioner",
"General": "Generet",
"General": "Generelt",
"Advanced": "Avanceret",
"Style": "Stil",
"Vertical space": "Lodret afstand",
Expand Down
2 changes: 1 addition & 1 deletion components/com_content/forms/filter_articles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
type="list"
label="JGLOBAL_SORT_BY"
onchange="this.form.submit();"
default="a.title ASC"
default="a.id DESC"
validate="options"
>
<option value="">JGLOBAL_SORT_BY</option>
Expand Down
4 changes: 2 additions & 2 deletions installation/language/af-ZA/langmetadata.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<metafile client="installation">
<name>Afrikaans (Suid-Afrika)</name>
<version>5.3.0</version>
<creationDate>2025-03</creationDate>
<version>5.3.1</version>
<creationDate>2025-04</creationDate>
<author>Afrikaans Translation Team</author>
<copyright>(C) 2005 Open Source Matters, Inc.</copyright>
<license>GNU General Public License version 2 or later; see LICENSE.txt</license>
Expand Down
4 changes: 2 additions & 2 deletions installation/language/ar-AA/langmetadata.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<metafile client="installation">
<name>Arabic (اللغة العربية)</name>
<version>5.3.0</version>
<creationDate>2025-03</creationDate>
<version>5.3.1</version>
<creationDate>2025-04</creationDate>
<author>Dr. Ashraf Damra</author>
<copyright>(C) 2005 Open Source Matters, Inc.</copyright>
<license>GNU General Public License version 2 or later; see LICENSE.txt</license>
Expand Down
4 changes: 2 additions & 2 deletions installation/language/be-BY/langmetadata.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<metafile client="installation">
<name>Belarusian (Belarus)</name>
<version>5.3.0</version>
<creationDate>2025-03</creationDate>
<version>5.3.1</version>
<creationDate>2025-04</creationDate>
<author>Joomla Belarus Community</author>
<copyright>(C) 2005 Open Source Matters, Inc.</copyright>
<license>GNU General Public License version 2 or later; see LICENSE.txt</license>
Expand Down
4 changes: 2 additions & 2 deletions installation/language/bg-BG/langmetadata.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<metafile client="installation">
<name>Bulgarian (bg-BG)</name>
<version>5.3.0</version>
<creationDate>2025-03</creationDate>
<version>5.3.1</version>
<creationDate>2025-04</creationDate>
<author>Joomla! Bulgaria</author>
<copyright>(C) 2005 Open Source Matters, Inc.</copyright>
<license>GNU General Public License version 2 or later; see LICENSE.txt</license>
Expand Down
4 changes: 2 additions & 2 deletions installation/language/ca-ES/langmetadata.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<metafile client="installation">
<name>Catalan (ca-ES)</name>
<version>5.3.0</version>
<creationDate>2025-03</creationDate>
<version>5.3.1</version>
<creationDate>2025-04</creationDate>
<author>Catalan [ca-ES] Translation Team</author>
<copyright>(C) 2005 Open Source Matters, Inc.</copyright>
<license>GNU General Public License version 2 or later; see LICENSE.txt</license>
Expand Down
4 changes: 2 additions & 2 deletions installation/language/cs-CZ/langmetadata.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<metafile client="installation">
<name>Czech (Čeština)</name>
<version>5.3.0</version>
<creationDate>2025-03</creationDate>
<version>5.3.1</version>
<creationDate>2025-04</creationDate>
<author>Czech Translation Team</author>
<copyright>(C) 2005 Open Source Matters, Inc.</copyright>
<license>GNU General Public License version 2 or later; see LICENSE.txt</license>
Expand Down
4 changes: 2 additions & 2 deletions installation/language/cy-GB/langmetadata.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<metafile client="installation">
<name>Welsh (United Kingdom)</name>
<version>5.3.0</version>
<creationDate>2025-03</creationDate>
<version>5.3.1</version>
<creationDate>2025-04</creationDate>
<author>Joomla! Project - Welsh Translation Team</author>
<copyright>(C) 2005 Open Source Matters, Inc.</copyright>
<license>GNU General Public License version 2 or later; see LICENSE.txt</license>
Expand Down
4 changes: 2 additions & 2 deletions installation/language/da-DK/langmetadata.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<metafile client="installation">
<name>Danish (Danmark)</name>
<version>5.3.0</version>
<creationDate>2025-03</creationDate>
<version>5.3.1</version>
<creationDate>2025-04</creationDate>
<author>Danish Translation Team (Transl.: Ronny Buelund)</author>
<copyright>(C) 2005 Open Source Matters, Inc.</copyright>
<license>GNU General Public License version 2 or later; see LICENSE.txt</license>
Expand Down
4 changes: 2 additions & 2 deletions installation/language/el-GR/langmetadata.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<metafile client="installation">
<name>Greek (el-GR)</name>
<version>5.3.0</version>
<creationDate>2025-03</creationDate>
<version>5.3.1</version>
<creationDate>2025-04</creationDate>
<author>Ομάδα Μετάφρασης: joomla. gr</author>
<copyright>(C) 2005 Open Source Matters, Inc.</copyright>
<license>GNU General Public License version 2 or later; see LICENSE.txt</license>
Expand Down
4 changes: 2 additions & 2 deletions installation/language/en-AU/langmetadata.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<metafile client="installation">
<name>English (Australia)</name>
<version>5.3.0</version>
<creationDate>2025-03</creationDate>
<version>5.3.1</version>
<creationDate>2025-04</creationDate>
<author>Joomla! Project</author>
<copyright>(C) 2005 Open Source Matters, Inc.</copyright>
<license>GNU General Public License version 2 or later; see LICENSE.txt</license>
Expand Down
4 changes: 2 additions & 2 deletions installation/language/en-CA/langmetadata.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<metafile client="installation">
<name>English (Canada)</name>
<version>5.3.0</version>
<creationDate>2025-03</creationDate>
<version>5.3.1</version>
<creationDate>2025-04</creationDate>
<author>Joomla! Project</author>
<copyright>(C) 2005 Open Source Matters, Inc.</copyright>
<license>GNU General Public License version 2 or later; see LICENSE.txt</license>
Expand Down
4 changes: 2 additions & 2 deletions installation/language/en-NZ/langmetadata.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<metafile client="installation">
<name>English (New Zealand)</name>
<version>5.3.0</version>
<creationDate>2025-03</creationDate>
<version>5.3.1</version>
<creationDate>2025-04</creationDate>
<author>Joomla! Project</author>
<copyright>(C) 2005 Open Source Matters, Inc.</copyright>
<license>GNU General Public License version 2 or later; see LICENSE.txt</license>
Expand Down
4 changes: 2 additions & 2 deletions installation/language/en-US/langmetadata.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<metafile client="installation">
<name>English (United States)</name>
<version>5.3.0</version>
<creationDate>2025-03</creationDate>
<version>5.3.1</version>
<creationDate>2025-04</creationDate>
<author>Joomla! Project</author>
<copyright>(C) 2005 Open Source Matters, Inc.</copyright>
<license>GNU General Public License version 2 or later; see LICENSE.txt</license>
Expand Down
4 changes: 2 additions & 2 deletions installation/language/es-ES/langmetadata.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<metafile client="installation">
<name>Spanish (es-ES)</name>
<version>5.3.0</version>
<creationDate>2025-03</creationDate>
<version>5.3.1</version>
<creationDate>2025-04</creationDate>
<author>Spanish [es-ES] Translation Team</author>
<copyright>(C) 2005 Open Source Matters, Inc.</copyright>
<license>GNU General Public License version 2 or later; see LICENSE.txt</license>
Expand Down
4 changes: 2 additions & 2 deletions installation/language/et-EE/langmetadata.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<metafile client="installation">
<name>Estonian</name>
<version>5.3.0</version>
<creationDate>2025-03</creationDate>
<version>5.3.1</version>
<creationDate>2025-04</creationDate>
<author>Joomla! Project</author>
<copyright>(C) 2005 Open Source Matters, Inc.</copyright>
<license>GNU General Public License version 2 or later; see LICENSE.txt</license>
Expand Down
4 changes: 2 additions & 2 deletions installation/language/eu-ES/langmetadata.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<metafile client="installation">
<name>Basque</name>
<version>5.3.0</version>
<creationDate>2025-03</creationDate>
<version>5.3.1</version>
<creationDate>2025-04</creationDate>
<author>Joomla! Basque Translation Team</author>
<copyright>(C) 2005 Open Source Matters, Inc.</copyright>
<license>GNU General Public License version 2 or later; see LICENSE.txt</license>
Expand Down
4 changes: 2 additions & 2 deletions installation/language/fa-AF/langmetadata.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<metafile client="installation">
<name>فارسی (دری)</name>
<version>5.3.0</version>
<creationDate>2025-03</creationDate>
<version>5.3.1</version>
<creationDate>2025-04</creationDate>
<author>JoomlaPersian Translation Team</author>
<copyright>(C) 2005 Open Source Matters, Inc.</copyright>
<license>GNU General Public License version 2 or later; see LICENSE.txt</license>
Expand Down
4 changes: 2 additions & 2 deletions installation/language/fa-IR/langmetadata.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<metafile client="installation">
<name>Persian (fa-IR)</name>
<version>5.3.0</version>
<creationDate>2025-03</creationDate>
<version>5.3.1</version>
<creationDate>2025-04</creationDate>
<author>Persian Translation Team: joomlafarsi.com</author>
<copyright>(C) 2005 Open Source Matters, Inc.</copyright>
<license>GNU General Public License version 2 or later; see LICENSE.txt</license>
Expand Down
4 changes: 2 additions & 2 deletions installation/language/fi-FI/langmetadata.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<metafile client="installation">
<name>Finnish (Finland)</name>
<version>5.3.0</version>
<creationDate>2025-03</creationDate>
<version>5.3.1</version>
<creationDate>2025-04</creationDate>
<author>Finnish translation team: Joomla.fi</author>
<copyright>(C) 2005 Open Source Matters, Inc.</copyright>
<license>GNU General Public License version 2 or later; see LICENSE.txt</license>
Expand Down
4 changes: 2 additions & 2 deletions installation/language/fr-CA/langmetadata.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<metafile client="installation">
<name>French (Canada)</name>
<version>5.3.0</version>
<creationDate>2025-03</creationDate>
<version>5.3.1</version>
<creationDate>2025-04</creationDate>
<author>Joomla! Project - French translation team</author>
<copyright>(C) 2005 Open Source Matters, Inc.</copyright>
<license>GNU General Public License version 2 or later; see LICENSE.txt</license>
Expand Down
4 changes: 2 additions & 2 deletions installation/language/fr-FR/langmetadata.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<metafile client="installation">
<name>French (fr-FR)</name>
<version>5.3.0</version>
<creationDate>2025-03</creationDate>
<version>5.3.1</version>
<creationDate>2025-04</creationDate>
<author>Joomla! Project - French translation team</author>
<copyright>(C) 2005 Open Source Matters, Inc.</copyright>
<license>GNU General Public License version 2 or later; see LICENSE.txt</license>
Expand Down
4 changes: 2 additions & 2 deletions installation/language/he-IL/langmetadata.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<metafile client="installation">
<name>Hebrew (Israel)</name>
<version>5.3.0</version>
<creationDate>2025-03</creationDate>
<version>5.3.1</version>
<creationDate>2025-04</creationDate>
<author>פרוייקט ג'ומלה</author>
<copyright>(C) 2005 Open Source Matters, Inc.</copyright>
<license>GNU General Public License version 2 or later; see LICENSE.txt</license>
Expand Down
4 changes: 2 additions & 2 deletions installation/language/hr-HR/langmetadata.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<metafile client="installation">
<name>Hrvatski (Hrvatska)</name>
<version>5.3.0</version>
<creationDate>2025-03</creationDate>
<version>5.3.1</version>
<creationDate>2025-04</creationDate>
<author>Joomla! Hrvatska team</author>
<copyright>(C) 2005 Open Source Matters, Inc.</copyright>
<license>GNU General Public License version 2 or later; see LICENSE.txt</license>
Expand Down
4 changes: 2 additions & 2 deletions installation/language/hu-HU/langmetadata.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<metafile client="installation">
<name>Hungarian (Magyar)</name>
<version>5.3.0</version>
<creationDate>2025-03</creationDate>
<version>5.3.1</version>
<creationDate>2025-04</creationDate>
<author>Joomla! Magyarország</author>
<copyright>(C) 2005 Open Source Matters, Inc.</copyright>
<license>GNU General Public License version 2 or later; see LICENSE.txt</license>
Expand Down
4 changes: 2 additions & 2 deletions installation/language/id-ID/langmetadata.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<metafile client="installation">
<name>Bahasa Indonesia (id-ID)</name>
<version>5.3.0</version>
<creationDate>2025-03</creationDate>
<version>5.3.1</version>
<creationDate>2025-04</creationDate>
<author>Joomla! Indonesia</author>
<copyright>(C) 2005 Open Source Matters, Inc.</copyright>
<license>GNU General Public License version 2 or later; see LICENSE.txt</license>
Expand Down
4 changes: 2 additions & 2 deletions installation/language/it-IT/langmetadata.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<metafile client="installation">
<name>Italiano (it-IT)</name>
<version>5.3.0</version>
<creationDate>2025-03</creationDate>
<version>5.3.1</version>
<creationDate>2025-04</creationDate>
<author>Joomla! Project (Italian Translation Team)</author>
<copyright>(C) 2005 Open Source Matters, Inc.</copyright>
<license>GNU General Public License version 2 or later; see LICENSE.txt</license>
Expand Down
Loading