mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-01 20:29:29 +00:00
change order by to ensure latest dv is sorted first
This commit is contained in:
@@ -59,7 +59,7 @@ class Dienstverhaeltnis_model extends DB_Model
|
||||
}
|
||||
|
||||
$qry .="
|
||||
ORDER BY dv.von desc
|
||||
ORDER BY COALESCE(dv.bis, '2999-12-31'::date) DESC, dv.von DESC
|
||||
";
|
||||
|
||||
return $this->execQuery($qry, $data);
|
||||
|
||||
Reference in New Issue
Block a user