fetch problem: how to sort_by class_id?

Author Message

Alessandro Cipriani

Wednesday 15 September 2004 3:55:17 am

hi all
in a template i fetch several objects and i want to order them by their class_id.
any hint?

best regards
alessandro

Kåre Køhler Høvik

Sunday 19 September 2004 5:57:21 am

Please see : http://ez.no/ez_publish/documentation/reference/data_fetching/content/list
Availbale class sorting fields :
# the class identifier of the nodes (class_identifier)
# the class name of the nodes (class_name)

Kåre Høvik

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

Main resources:

Total runtime0.0151 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0055 589.2734152.6406
Module start 'layout' 0.00550.0032 741.914139.4766
Module start 'content' 0.00870.0043 781.390689.3359
Module end 'content' 0.01300.0021 870.726630.3047
Script end 0.0151  901.0313 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002617.1286140.0002
Check MTime0.00117.1596140.0001
Mysql Total
Database connection0.00074.689510.0007
Mysqli_queries0.003019.582930.0010
Looping result0.00000.072610.0000
Template Total0.001711.210.0017
Template load0.00095.946710.0009
Template processing0.00085.246310.0008
Override
Cache load0.00063.837710.0006
General
dbfile0.00031.668880.0000
String conversion0.00000.058440.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs