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
-~----------~----~----~----~------~----~------~--~---