Author: sevein
Date: Mon Nov 1 13:58:07 2010
New Revision: 8747
Log:
Use left join to show events which its own i18n row is missing.
Modified:
trunk/lib/model/QubitInformationObject.php
Modified: trunk/lib/model/QubitInformationObject.php
==============================================================================
--- trunk/lib/model/QubitInformationObject.php Mon Nov 1 13:49:15 2010
(r8746)
+++ trunk/lib/model/QubitInformationObject.php Mon Nov 1 13:58:07 2010
(r8747)
@@ -513,7 +513,8 @@
$criteria->addMultipleJoin(array(
array(QubitEvent::ID, QubitEventI18n::ID),
- array(QubitEvent::SOURCE_CULTURE, QubitEventI18n::CULTURE)));
+ array(QubitEvent::SOURCE_CULTURE, QubitEventI18n::CULTURE)),
+ Criteria::LEFT_JOIN);
$criteria->add($criteria->getNewCriterion(QubitEvent::END_DATE, null,
Criteria::ISNOTNULL)
->addOr($criteria->getNewCriterion(QubitEvent::START_DATE, null,
Criteria::ISNOTNULL))
--
You received this message because you are subscribed to the Google Groups
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/qubit-commits?hl=en.