Hi,
i'm using this Helper
echo $ajax->autoComplete('Hobbysearch.name', null, array("tokens" =>
array(',',' '), "value" => $hobbies));before cake\libs\model\datasources\dbo_source.php (rev 6311) it worked and gave me the query (i entered "aut" for this example): SELECT "Hobbysearch"."id" AS "Hobbysearch__id", "Hobbysearch"."count" AS "Hobbysearch__count", "Hobbysearch"."name" AS "Hobbysearch__name", "Hobbysearch"."created" AS "Hobbysearch__created" FROM "tags" AS "Hobbysearch" WHERE "Hobbysearch"."name" LIKE '%aut%' after this revision (got newest build yesterday) it was: SELECT "Hobbysearch"."id" AS "Hobbysearch__id", "Hobbysearch"."count" AS "Hobbysearch__count", "Hobbysearch"."name" AS "Hobbysearch__name", "Hobbysearch"."created" AS "Hobbysearch__created" FROM "tags" AS "Hobbysearch" WHERE "Hobbysearch"."name" = 'LIKE %aut%' what of course gives no result because it searches for = 'LIKE %aut%' instead of LIKE '%aut%' has anyone an idea how to get this fixed? ___________________________ using cakephp 1.2.0.7125 RC1 prototype 1.6.0.2 scriptaculous 1.8.1 php 5.2.5 pgsql 8.2.5 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" 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 -~----------~----~----~----~------~----~------~--~---
