cakephp2-php8/lib/Cake/Test/Case/Model/Behavior
mark_story c548b6b88a Fix issue with find(count) and translated conditions.
Because count queries did not have joins created for the translated
fields pagination would generate invalid queries. Checking the conditions
for translated fields and adding in the correct joins solves that.
Extract what would have been duplicated code into methods.

Add a few protected properties to keep method signatures sane. The code
could be even simpler if the existing find(count) join was removed.

Fixes #2349
2012-01-08 20:40:25 -05:00
..
AclBehaviorTest.php Replacing test case compatibility functions 2011-11-16 21:07:08 -05:00
ContainableBehaviorTest.php Indentation fix (tab instead of spaces) 2011-12-20 22:26:43 -05:00
TranslateBehaviorTest.php Fix issue with find(count) and translated conditions. 2012-01-08 20:40:25 -05:00
TreeBehaviorAfterTest.php Replacing test case compatibility functions 2011-11-16 21:07:08 -05:00
TreeBehaviorNumberTest.php Added test case for TreeBehavior::recover(). Refs #2392 2011-12-18 15:23:49 +05:30
TreeBehaviorScopedTest.php Adhere to code formatting standard 2011-11-30 23:21:31 -08:00
TreeBehaviorTest.php Updating all @package annotations in doc blocks 2011-07-26 01:46:14 -04:30
TreeBehaviorUuidTest.php Replacing test case compatibility functions 2011-11-16 21:07:08 -05:00