sheevazz / searchable-behaviour-for-cakephp

Automatically exported from code.google.com/p/searchable-behaviour-for-cakephp
0 stars 0 forks source link

translate behaviour vs. searchable behaviour #14

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I am using the Patch from Issue 7
http://code.google.com/p/searchable-behaviour-for-cakephp/issues/detail?id=7

Its really cool and it works for me, 
at least on my normal models.

On the models that i use the translate behaviour, 
i am getting a result but only the id of the dataset.
So it actually finds the right dataset but can't
translate the data like name, description 
for the search view. I get a notice like
"undefined index name".

I am not cakephp professional, but  it looks like
the searchable-behaviour dosn't work together with the
translate behaviour. Is that right?
Has anybody a solution for that yet?

Original issue reported on code.google.com by pola.3i...@gmail.com on 12 May 2009 at 1:05

GoogleCodeExporter commented 9 years ago
I have the same problem!
Mayby You know solutiuon for this?

Original comment by kicaj%kd...@gtempaccount.com on 4 Aug 2009 at 10:19

GoogleCodeExporter commented 9 years ago
translate behaviour is a bit tricky with "indirect" finds.

What I use to do is to put all the retrieved Ids in a array and make a find 
with it.

Original comment by elrr...@gmail.com on 29 Oct 2009 at 3:51