Sorting Akte Results if creation date is the same

This commit is contained in:
Andreas Österreicher
2025-08-05 09:42:00 +02:00
parent 8f44a8b33e
commit db30fa0d96
+1
View File
@@ -298,6 +298,7 @@ class Akte_model extends DB_Model
$this->db->where('person_id', $person_id);
$this->addOrder('erstelltam', 'DESC');
$this->addOrder('akte_id', 'DESC');
return $this->loadWhere([
'archiv' => true