a
This commit is contained in:
@@ -25,13 +25,13 @@ class Typeavenant extends Modele
|
||||
{
|
||||
$sql = 'SELECT A.codeTypeAvenant as `code`, A.libelleEng as libelle FROM typeavenant A
|
||||
join suiteavenant B on (B.codeTypeAvenant=A.codeTypeAvenant)
|
||||
where (B.oldCodeTypeAvenant=?) order by A.libelle';
|
||||
where (B.oldCodeTypeAvenant=?) and A.order by A.libelle';
|
||||
}
|
||||
else
|
||||
{
|
||||
$sql = 'SELECT A.codeTypeAvenant as `code`, A.libelle FROM typeavenant A
|
||||
join suiteavenant B on (B.codeTypeAvenant=A.codeTypeAvenant)
|
||||
where (B.oldCodeTypeAvenant=?) order by A.libelle';
|
||||
where (B.oldCodeTypeAvenant=?) and A.extranetClient="1" order by A.libelle';
|
||||
}
|
||||
|
||||
$liste = $this->executerRequete($sql, array($oldCodeTypeAvenant));
|
||||
|
||||
Reference in New Issue
Block a user