From db30fa0d9683746845546136b46fe619b19a3110 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=96sterreicher?= Date: Tue, 5 Aug 2025 09:42:00 +0200 Subject: [PATCH] Sorting Akte Results if creation date is the same --- application/models/crm/Akte_model.php | 1 + 1 file changed, 1 insertion(+) diff --git a/application/models/crm/Akte_model.php b/application/models/crm/Akte_model.php index 601019d3a..b945f414a 100644 --- a/application/models/crm/Akte_model.php +++ b/application/models/crm/Akte_model.php @@ -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