filtering ezobjectrelations in fetch

Author Message

Ivo Lukac

Monday 07 July 2008 8:43:49 am

Hi everybody,

Filtering ezobjectrelations in fetch is not possible out of the box. Does somebody has some idea on how to make it?

Thanks

http://www.linkedin.com/in/ivolukac
http://www.netgen.hr/eng/blog
http://twitter.com/ilukac

Kristof Coomans

Monday 07 July 2008 8:48:56 am

Hi Ivo

There are some contributions around there that can do this:

http://ez.no/community/contribs/template_plugins/objectrelationfilter
http://ez.no/developer/contribs/datatypes/enhanced_object_relation_filter

Good luck!

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Ivo Lukac

Tuesday 08 July 2008 2:11:16 am

Hi Kristof,

Seems that the first one could be what I need.
Question now is can the extended filter be combined with normal filter in fetch?
And if yes is it AND or OR logic used between them?

http://www.linkedin.com/in/ivolukac
http://www.netgen.hr/eng/blog
http://twitter.com/ilukac

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 16:00:29
Script start
Timing: Jan 18 2025 16:00:29
Module start 'layout'
Timing: Jan 18 2025 16:00:29
Module start 'content'
Timing: Jan 18 2025 16:00:30
Module end 'content'
Timing: Jan 18 2025 16:00:30
Script end

Main resources:

Total runtime0.7668 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0060 589.7109152.6250
Module start 'layout' 0.00610.0036 742.335939.4453
Module start 'content' 0.00970.7555 781.7813543.4922
Module end 'content' 0.76520.0016 1,325.273412.1563
Script end 0.7668  1,337.4297 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.01311.7145160.0008
Check MTime0.00150.2019160.0001
Mysql Total
Database connection0.00070.091410.0007
Mysqli_queries0.713893.0904570.0125
Looping result0.00060.0747550.0000
Template Total0.734795.820.3674
Template load0.00220.283320.0011
Template processing0.732595.532020.3663
Template load and register function0.00010.013310.0001
states
state_id_array0.00080.107710.0008
state_identifier_array0.00130.169020.0006
Override
Cache load0.00170.2272200.0001
Sytem overhead
Fetch class attribute can translate value0.00070.084920.0003
Fetch class attribute name0.00150.191950.0003
XML
Image XML parsing0.00120.156420.0006
class_abstraction
Instantiating content class attribute0.00000.001660.0000
General
dbfile0.00100.1250230.0000
String conversion0.00000.001240.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 15
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs