find('list') - 'fields'-parameter in model?

2010-03-19 Thread LDSign
Hi Is it possible to move the fields-parameter for find('list') into the model so it can be used with every find('list') command? Thanks, Frank Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because

Re: find('list') - 'fields'-parameter in model?

2010-03-19 Thread Jeremy Burns
Yes. Place this in your model: var $displayField = 'fieldName'; Jeremy Burns jeremybu...@me.com On 19 Mar 2010, at 07:46, LDSign wrote: Hi Is it possible to move the fields-parameter for find('list') into the model so it can be used with every find('list') command? Thanks, Frank