Release of v5.1.1-alpha1

Move all banners to GitHub. Adds library phpspreadsheet to JCB. Adds 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:50:18 +00:00
parent 442263e387
commit 06185f8c3a
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));
}