#1209: Find method for HABTM should allow for specifying conditions on the join
model
-------------------------------------------------------------+--------------
Reporter: kitten | Owner:
Type: Enhancement | Status:
closed
Priority: Medium | Milestone:
1.2.x.x
Component: Model | Version:
RC1
Severity: Normal | Resolution:
fixed
Keywords: find HABTM conditions join kitten motin gwoo | Php_version:
PHP 4 >= 4.3.0
Cake_version: |
-------------------------------------------------------------+--------------
Comment (by chmoindron):
Replying to [comment:9 the_undefined]:
> This should be doable now using the new Containable behavior together
with setting the 'with' property for HABTM.
Not really. Or I didn't find how to do it. Containable does indeed filter
results, but if I have, let's say, Post HABTM Tag, and I set contain
Tag.name='whatever', I'll still get all the posts, with an empty Tag
array.
So, maybe this ticket could be reopened?
--
Ticket URL: <https://trac.cakephp.org/ticket/1209#comment:11>
CakePHP : The Rapid Development Framework for PHP <https://trac.cakephp.org/>
Cake is a rapid development framework for PHP which uses commonly known design
patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC.
Our primary goal is to provide a structured framework that enables PHP users at
all levels to rapidly develop robust web applications, without any loss to
flexibility.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"tickets cakephp" 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/tickets-cakephp?hl=en
-~----------~----~----~----~------~----~------~--~---