add order Nachname, Vorname

This commit is contained in:
ma0068
2026-05-18 10:11:17 +02:00
parent 7aba7aefb9
commit d4e170037b
+7 -2
View File
@@ -173,8 +173,13 @@ class Person_model extends DB_Model
LIMIT 1
)
AS uid");
$this->addOrder('uid');
};
$this->addOrder('uid, lower(nachname), lower(vorname)');
}
else
{
$this->addOrder('lower(nachname), lower(vorname)');
}
$result = $this->loadWhere(
'lower(nachname) like '.$this->db->escape('%'.mb_strtolower($filter).'%')."