Hi everybody, hope you are doing well. The title might be confusing. This is the quickest explanation:
objectA is related to objectB in a 1 to Many relation/association. With lazy load you can (in a template): {% for objectB in objectA.objectBCollection %} But objectA.objectBCollection (a lazy load) will return ALL related objectB objects. What I would want is to know how can I create a filter/DQLquery/something to return just a partial collection; for example, those objectBs that has an attribute is_public_content set to TRUE. Hope you can help/guide me. Any advice is welcome. Thanks! -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en