find('list') only seems to work when using a primaryKey field. Is that
intended? either way, I used the work around above and it works fine.

On Jan 2, 12:09 pm, AD7six <[EMAIL PROTECTED]> wrote:
> On Jan 2, 5:59 pm, Emmanuel <[EMAIL PROTECTED]> wrote:
>
> > On 2 jan, 16:54, chad <[EMAIL PROTECTED]> wrote:
>
> > > //new way of doing the above (does not work... note: subdivision is
> > > not a primaryKey)
> > > $subdivisions = $this->Listing->find('list', array('fields'=>
> > > 'Listing.subdivision, Listing.subdivision',
> > > 'order'=>'Listing.subdivision ASC'));
>
> > Hello
> > i am right looking at the code, and I confirm this, it must be a bug.
> > In the class (model.php), the Set::combine do not use the array
> > "fields" passed in parameters.
>
> I very much doubt there is a bug there, there is an assumption that
> you can do everything that genreateList used to do via find('list'...
> which you can't.
>
> hth,
>
> AD
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to