Forums / Developer / Search an objectrelation

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

Search an objectrelation

Author Message

Pablo C. Vergara Castro

Monday 14 March 2005 7:24:36 am

Hi to all.

It is possible to search objects (using fetch('content','search'...) by an object relation attribute?

If it is... please tell me how to do it.

I Try to explain better:

I have a class called machine with many attributes: Name (textline), description (xmltext),... and one attribute ('kind of machine') is an objectrelation. Now my problem is that I'm trying to search objects using this attribute but I don't know how can I.

Can somebody help me?, maybe I'm trying something impossible?

Greetings and thanks in advance.

Xavier Dutoit

Monday 14 March 2005 10:39:46 am

Gabriel Ambuhel has added a search feature on the enhancedobjectrelation datatype:
http://www.ez.no/community/contribs/datatypes/enhanced_objectrelation

This does probably what you want.

Xavier

http://www.sydesy.com