Attribute filter doesn't work

Author Message

Willie Seabrook

Friday 03 October 2003 2:12:17 am

Hi, trying to use attribute filter in 3.2. Its not working - returns everything all of the time. Have used both 'and' and 'or' in various combinations.

{let folder_list=fetch( content, list, hash( parent_node_id, 192, sort_by, array( array( priority ) ),
attribute_filter, array('and', array(173, '=', 'long')))) }

{section name=Folder loop=$folder_list}
<b>{$Folder:item|}</b>
<br>
{/section}
{/let}

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 31 2025 01:13:03
Script start
Timing: Jan 31 2025 01:13:03
Module start 'layout'
Timing: Jan 31 2025 01:13:03
Module start 'content'
Timing: Jan 31 2025 01:13:04
Module end 'content'
Timing: Jan 31 2025 01:13:04
Script end

Main resources:

Total runtime1.1894 sec
Peak memory usage8,192.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0047 588.1250151.2109
Module start 'layout' 0.00470.0034 739.3359220.6875
Module start 'content' 0.00811.1805 960.02344,140.0938
Module end 'content' 1.18860.0008 5,100.11727.8516
Script end 1.1894  5,107.9688 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.2880160.0002
Check MTime0.00130.1085160.0001
Mysql Total
Database connection0.00090.073810.0009
Mysqli_queries1.118594.0411460.0243
Looping result0.00040.0373440.0000
Template Total1.136495.520.5682
Template load0.00230.191420.0011
Template processing1.134195.352720.5671
Template load and register function0.00150.126010.0015
states
state_id_array0.00200.168510.0020
state_identifier_array0.00200.167120.0010
Override
Cache load0.00190.1556110.0002
Sytem overhead
Fetch class attribute can translate value0.00160.130810.0016
Fetch class attribute name0.00160.135910.0016
XML
Image XML parsing0.00010.008310.0001
class_abstraction
Instantiating content class attribute0.00000.000510.0000
General
dbfile0.00160.1316100.0002
String conversion0.00000.000640.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
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/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: 8
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs