Update default sorting for log_licenze resource
Changed the default order field to 'DataInserimento' and the sorting type to 'DESC' to ensure logs are displayed with the most recent entries first. This improves data retrieval consistency and aligns with expected usage patterns.
This commit is contained in:
@@ -5,8 +5,8 @@ class Application_Model_Resources_LogLicenze extends App_Model_Resource_Abstract
|
|||||||
protected $_name = 'log_licenze';
|
protected $_name = 'log_licenze';
|
||||||
protected $_primary = 'id';
|
protected $_primary = 'id';
|
||||||
|
|
||||||
protected $_defaultOrder = 'id';
|
protected $_defaultOrder = 'DataInserimento';
|
||||||
protected $_defaultTipoOrder = 'ASC';
|
protected $_defaultTipoOrder = 'DESC';
|
||||||
|
|
||||||
/************** METODI SPECIALIZZATI *******************/
|
/************** METODI SPECIALIZZATI *******************/
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user