Using search operator to fetch content of a specific node ?

Author Message

laurent le cadet

Monday 10 November 2003 8:54:44 am

Hi,

Anyone as an idea to sort content of a node and his childs using the search operator ?
I have classes using the same identifier and I want to sort all the object where the value of the identifier is i.e. "x".

I tried different ways with this parts of code but no result :-(

{let search=fetch(content,search,hash(text,'x'))}

Laurent

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 19 2025 04:28:01
Script start
Timing: Jan 19 2025 04:28:01
Module start 'layout'
Timing: Jan 19 2025 04:28:01
Module start 'content'
Timing: Jan 19 2025 04:28:02
Module end 'content'
Timing: Jan 19 2025 04:28:02
Script end

Main resources:

Total runtime1.0464 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0064 589.4141152.6563
Module start 'layout' 0.00640.0036 742.070339.5078
Module start 'content' 0.01001.0347 781.5781434.1953
Module end 'content' 1.04470.0017 1,215.77348.0938
Script end 1.0464  1,223.8672 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.3227160.0002
Check MTime0.00130.1276160.0001
Mysql Total
Database connection0.00100.098310.0010
Mysqli_queries1.005096.0438460.0218
Looping result0.00060.0530440.0000
Template Total1.010196.520.5051
Template load0.00230.216620.0011
Template processing1.007896.312820.5039
Template load and register function0.00010.010510.0001
states
state_id_array0.00140.137210.0014
state_identifier_array0.00150.138720.0007
Override
Cache load0.00180.1748100.0002
Sytem overhead
Fetch class attribute can translate value0.00110.104910.0011
Fetch class attribute name0.00080.078720.0004
XML
Image XML parsing0.00060.055210.0006
class_abstraction
Instantiating content class attribute0.00000.000420.0000
General
dbfile0.00060.0599160.0000
String conversion0.00000.000940.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/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/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: 7
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs