developer.jelix.org is not used any more and exists only for
history. Post new tickets on the Github account.
developer.jelix.org n'est plus utilisée, et existe uniquement pour son historique. Postez les nouveaux tickets sur le compte github.
developer.jelix.org n'est plus utilisée, et existe uniquement pour son historique. Postez les nouveaux tickets sur le compte github.
Opened 13 years ago
Closed 13 years ago
#398 closed bug (fixed)
Bug Dao fonction countBy et paramètre ORDER
Reported by: | giviz | Owned by: | laurentj |
---|---|---|---|
Priority: | normal | Milestone: | Jelix 1.0 |
Component: | jelix:dao | Version: | 1.0RC2 |
Severity: | minor | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Documentation needed: | ||
Hosting Provider: | Php version: |
Description
La fonction countBy dans le fichier jDaoFactoryBase.class.php à un bug à la ligne 107.
$query .= $this->_createConditionsClause($searchcond);
devrait etre :
$query .= $this->_createConditionsClause($searchcond, false);
On avait déjà corrigé ce bug, ca à du sauter entre temps ;p
A+ !
Change History (2)
comment:1 Changed 13 years ago by laurentj
- Milestone set to Jelix 1.0
- Owner set to laurentj
- Severity changed from normal to minor
- Status changed from new to assigned
comment:2 Changed 13 years ago by laurentj
- Resolution set to fixed
- Status changed from assigned to closed
Bug corrigé dans le trunk.
Note: See
TracTickets for help on using
tickets.
La correction n'est pas bonne, car alors la clause where est mal générée quand il y a des jointures.
Note que sur ma version de mysql, la requête n'est pas en erreur.