From 1ef8b95c4932ff63d360c31f7a9df837ec78c65e Mon Sep 17 00:00:00 2001 From: alex Date: Mon, 22 Jun 2020 20:46:37 +0200 Subject: [PATCH] codex/Bisverwendung_model: - getVerwendungen method: Verwendungen sorted by ende --- application/models/codex/Bisverwendung_model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/models/codex/Bisverwendung_model.php b/application/models/codex/Bisverwendung_model.php index 77cff15f1..760222a4b 100644 --- a/application/models/codex/Bisverwendung_model.php +++ b/application/models/codex/Bisverwendung_model.php @@ -68,7 +68,7 @@ class Bisverwendung_model extends DB_Model $params[] = $ende; } - $qry .= 'ORDER BY beginn'; + $qry .= ' ORDER BY ende, beginn'; return $this->execQuery($qry, $params); }