From f2e2a6a3da6e170f8341abd4ec6c1abe08afd0d5 Mon Sep 17 00:00:00 2001 From: Karl Burkhart Date: Tue, 8 Feb 2011 15:12:42 +0000 Subject: [PATCH] added get_firmaorganisationseinheit -> order by firma.name --- include/firma.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/firma.class.php b/include/firma.class.php index 5e24727d7..3dcfde6bb 100644 --- a/include/firma.class.php +++ b/include/firma.class.php @@ -627,7 +627,7 @@ class firma extends basis_db if($oe_kurzbz!='') $qry.=" and tbl_firma_organisationseinheit.oe_kurzbz='".addslashes($oe_kurzbz)."'"; - $qry.=" ORDER BY tbl_firma_organisationseinheit.oe_kurzbz "; + $qry.=" ORDER BY tbl_firma.name, tbl_firma_organisationseinheit.oe_kurzbz "; if($this->db_query($qry)) { while($row = $this->db_fetch_object())