Commit 30afdccb authored by Nicolas Chauvat's avatar Nicolas Chauvat
Browse files

adapt to change in cube similarity

parent 34bff5429052
......@@ -83,8 +83,7 @@ class ProximityOfAds(baseviews.EntityView):
self.w(u'</table>')
class ClosestAdsBox(SimilarEntitiesBox):
__select__ = SimilarEntitiesBox.__select__ & is_instance('ClassifiedAd',)
etype = 'ClassifiedAd'
__select__ = is_instance('ClassifiedAd')
class ClassifiedAdSimilarAction(SimilarAction):
__select__ = is_instance('ClassifiedAd')
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment