hi majna...
Thanks... now it is working... but i have got one more problem..
the items are not listing in alphabetical order..Can you please help
me to solve this .
thanks
Regi
On Apr 27, 4:19 pm, junal <[EMAIL PROTECTED]> wrote:
> hey majna....thx for this solution ...i had similar problem :)
>
> On Apr 27, 5:17 pm, junal <[EMAIL PROTECTED]> wrote:
>
> > thx majan ...i had similar problem .....thx for this solution :)
>
> > On Apr 27, 4:19 pm, majna <[EMAIL PROTECTED]> wrote:
>
> > > class AutocompleteComponent extends Object {
>
> > > add:
> > > var $ac_limit = 10;
> > > var $ac_order = 10;
> > > var $ac_fields= null;
> > > ...
>
> > > and:
>
> > > $results = $controller->{$model}->findAll($conditions,$this->ac_fields,
> > > $this->ac_order,$this->ac_limit);
>
> > > In controller :
>
> > > $this->Autocomplete->ac_limit=10;
>
> > > *not tested
>
> > > or just change this line
> > > $results = $controller->{$model}->findAll($conditions,null,null,10);
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---