Hi, can someone show me how it looks correct $filterArgs settings if I need to search data in hasmany related model.
example, User hasMany Orders. User model: public $filterArgs = array( 'id' => array( 'type' => 'value' ), 'name' => array( 'type' => 'like' ), 'company' => array( 'type' => 'like' ), 'email' => array( 'type' => 'like' ) // @Model Order ???? 'order_date' => array( 'type' => 'like', 'model' => 'Order', 'modelField' => 'order_date' ), form field name is order_date.. Thanks -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" group. To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscr...@googlegroups.com. To post to this group, send email to cake-php@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/d/optout.