Fixed sorting in PreorderstatusModel

This commit is contained in:
Frank Schubert
2024-04-10 16:20:39 +02:00
parent 333bc231dd
commit 358773672c

View File

@@ -46,7 +46,7 @@ class PreorderstatusModel {
$db = FronkDB::singleton();
$res = $db->select("Preorderstatus", "*", "ORDER BY code, name");
$res = $db->select("Preorderstatus", "*", "1=1 ORDER BY code, name");
if($db->num_rows($res)) {
while($data = $db->fetch_object($res)) {
$items[] = new Preorderstatus($data);