Version 4.3.6

This commit is contained in:
Neo committed 2025-12-19 05:49:12 -08:00
1 parent fe1acf984a
commit 1a0c7fd3c2
609 files changed
+14707 -5726

No files matched your search

+13 -17
View File
@@ -50,6 +50,19 @@ class _Table extends \IPS\Helpers\Table\Content
return parent::__construct( $class, $baseUrl, $where, $container, $includeHidden, $permCheck, $honorPinned );
}
/**
* Get rows
*
* @param array $advancedSearchValues Values from the advanced search form
* @return array
*/
public function getRows( $advancedSearchValues )
{
$this->sortOptions['title'] = $this->sortOptions['title'] . ' ASC, image_id ';
return parent::getRows( $advancedSearchValues );
}
/**
* Build the form to move images
*
@@ -225,21 +238,4 @@ class _Table extends \IPS\Helpers\Table\Content
}
return;
}
/**
* Return the sort direction to use for links
*
* @note Abstracted so other table helper instances can adjust as needed
* @param string $column Sort by string
* @return string [asc|desc]
*/
public function getSortDirection( $column )
{
if( $column == 'image_caption' )
{
return 'asc';
}
return 'desc';
}
}