]> git.agnieray.net Git - galette.git/blobdiff - galette/lib/Galette/Entity/Group.php
Fix missing priorite_statut column in groups members/managers
[galette.git] / galette / lib / Galette / Entity / Group.php
index dd4324fc52d7a6a5b38d5fbcb1ffe33cf6d928e9..b50d33b526a868acf90c7f1ed3fc1f6c447335ab 100644 (file)
@@ -178,6 +178,11 @@ class Group
                 }
 
                 $select = $zdb->select(Adherent::TABLE, 'a');
+                $select->join(
+                    array('status' => PREFIX_DB . Status::TABLE),
+                    'a.' . Status::PK . '=status.' . Status::PK,
+                    array('priorite_statut')
+                );
                 $select->join(
                     array('g' => $join),
                     'g.' . Adherent::PK . '=a.' . Adherent::PK,