Release of v4.1.1-alpha1

Move all banners to GitHub. Adds library phpspreadsheet to JCB. Add import item example to demo component. Updates the Superpower class with the GetRemote class in the plugin. Ensures the super power autoloader triggers the correct repositories.
This commit is contained in:
2025-03-04 21:53:04 +00:00
parent 8549348a61
commit d11860ae1a
1141 changed files with 193033 additions and 158 deletions

View File

@ -542,7 +542,7 @@ class Admin_viewsModel extends ListModel
}
// Add the list ordering clause.
$orderCol = $this->getState('list.ordering', '');
$orderCol = $this->getState('list.ordering', 'a.id');
$orderDirn = $this->getState('list.direction', 'desc');
if ($orderCol != '')
{

View File

@ -323,12 +323,12 @@ class Class_extendingsModel extends ListModel
}
// Add the list ordering clause.
$orderCol = $this->getState('list.ordering', 'a.id');
$orderDirn = $this->getState('list.direction', 'desc');
$orderCol = $this->getState('list.ordering', 'a.name');
$orderDirn = $this->getState('list.direction', 'asc');
if ($orderCol != '')
{
// Check that the order direction is valid encase we have a field called direction as part of filers.
$orderDirn = (is_string($orderDirn) && in_array(strtolower($orderDirn), ['asc', 'desc'])) ? $orderDirn : 'desc';
$orderDirn = (is_string($orderDirn) && in_array(strtolower($orderDirn), ['asc', 'desc'])) ? $orderDirn : 'asc';
$query->order($db->escape($orderCol . ' ' . $orderDirn));
}

View File

@ -373,7 +373,7 @@ class Class_methodsModel extends ListModel
}
// Add the list ordering clause.
$orderCol = $this->getState('list.ordering', 'a.id');
$orderCol = $this->getState('list.ordering', 'a.name');
$orderDirn = $this->getState('list.direction', 'desc');
if ($orderCol != '')
{

View File

@ -371,7 +371,7 @@ class Class_propertiesModel extends ListModel
}
// Add the list ordering clause.
$orderCol = $this->getState('list.ordering', '');
$orderCol = $this->getState('list.ordering', 'a.name');
$orderDirn = $this->getState('list.direction', 'desc');
if ($orderCol != '')
{

View File

@ -364,7 +364,7 @@ class Dynamic_getsModel extends ListModel
}
// Add the list ordering clause.
$orderCol = $this->getState('list.ordering', '');
$orderCol = $this->getState('list.ordering', 'a.id');
$orderDirn = $this->getState('list.direction', 'desc');
if ($orderCol != '')
{

View File

@ -309,12 +309,12 @@ class FieldtypesModel extends ListModel
// Add the list ordering clause.
$orderCol = $this->getState('list.ordering', 'a.id');
$orderDirn = $this->getState('list.direction', 'desc');
$orderCol = $this->getState('list.ordering', 'a.name');
$orderDirn = $this->getState('list.direction', 'asc');
if ($orderCol != '')
{
// Check that the order direction is valid encase we have a field called direction as part of filers.
$orderDirn = (is_string($orderDirn) && in_array(strtolower($orderDirn), ['asc', 'desc'])) ? $orderDirn : 'desc';
$orderDirn = (is_string($orderDirn) && in_array(strtolower($orderDirn), ['asc', 'desc'])) ? $orderDirn : 'asc';
$query->order($db->escape($orderCol . ' ' . $orderDirn));
}

View File

@ -394,12 +394,12 @@ class LanguagesModel extends ListModel
// Add the list ordering clause.
$orderCol = $this->getState('list.ordering', 'a.id');
$orderDirn = $this->getState('list.direction', 'desc');
$orderCol = $this->getState('list.ordering', 'a.name');
$orderDirn = $this->getState('list.direction', 'asc');
if ($orderCol != '')
{
// Check that the order direction is valid encase we have a field called direction as part of filers.
$orderDirn = (is_string($orderDirn) && in_array(strtolower($orderDirn), ['asc', 'desc'])) ? $orderDirn : 'desc';
$orderDirn = (is_string($orderDirn) && in_array(strtolower($orderDirn), ['asc', 'desc'])) ? $orderDirn : 'asc';
$query->order($db->escape($orderCol . ' ' . $orderDirn));
}