Forums / Developer / Can you use attribute_filter and extended_attribute_filter together in fetch function 'list' ?

"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".

Can you use attribute_filter and extended_attribute_filter together in fetch function 'list' ?

Author Message

Ilya Sazonov

Sunday 31 October 2010 2:24:48 am

In fetch function list of module content can attribute_filter and extended_attribute_filter be used together?
What I want is to use extended_attribute_filter from http://projects.ez.no/objectrelationfilter to fetch objects related to the one I specify and use standard attribute_filter to fetch only the ones which I want.

André R.

Sunday 31 October 2010 3:17:38 am

Yes, have used a several attribute filters combined with a extended attribute filter on the same fetch once, it wasn't fast (fast enough for small sites), but it worked. If you want fast and even more flexible, use ezfind search functions.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Ilya Sazonov

Sunday 31 October 2010 3:26:54 am

I've just tried it myself and it seems that you can! It's awesome and I personally think that it should be mentioned in documentation. For newbies like me.

Heath

Sunday 31 October 2010 11:13:58 am

Hello Ilya,

This is a good idea!

Could you file a documentation enhancement request at, http://issues.ez.no/Exponential

for the documentation team to address. This is a proper way to affect positive change.

Cheers,

Heath

7x | https://se7enx.com/
Brookins Consulting | https://brookinsconsulting.com/
Certified | http://web.archive.org/web/201012...th.ez.no/certification/verify/380350
Solutions | https://projects.exponential.earth/users/community/brookins-consulting
eZpedia community documentation project | http://ezpedia.se7enx.com

André R.

Sunday 31 October 2010 2:08:20 pm

But the doc page does not say that you can't combine then does it?

Adding an example showing both in use won't hurt though.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom