Sorting fetch by price-attribute

Author Message

Roy Bøhmer

Monday 29 May 2006 4:50:00 am

Hi!
I know the docs says I can't sort or filter a fetch by a price attribute. ( http://ez.no/doc/ez_publish/technical_manual/3_8/reference/modules/content/fetch_functions/list ) But this seems to be a feature most webshops would need.

Anyone who have a suggestion or solution for a hack?

- Roy

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 11:25:02
Script start
Timing: Jan 18 2025 11:25:02
Module start 'layout'
Timing: Jan 18 2025 11:25:02
Module start 'content'
Timing: Jan 18 2025 11:25:03
Module end 'content'
Timing: Jan 18 2025 11:25:03
Script end

Main resources:

Total runtime0.6893 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.0067 587.9141152.6250
Module start 'layout' 0.00670.0033 740.539139.4453
Module start 'content' 0.01000.6777 779.9844398.7188
Module end 'content' 0.68760.0016 1,178.70318.1563
Script end 0.6893  1,186.8594 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.4742160.0002
Check MTime0.00140.1960160.0001
Mysql Total
Database connection0.00150.213110.0015
Mysqli_queries0.650094.2999460.0141
Looping result0.00050.0721440.0000
Template Total0.653794.820.3268
Template load0.00190.272320.0009
Template processing0.651794.551420.3259
Template load and register function0.00020.032810.0002
states
state_id_array0.00100.150010.0010
state_identifier_array0.00100.145920.0005
Override
Cache load0.00150.217070.0002
Sytem overhead
Fetch class attribute can translate value0.00060.083110.0006
Fetch class attribute name0.00080.109010.0008
XML
Image XML parsing0.00020.027710.0002
class_abstraction
Instantiating content class attribute0.00000.000410.0000
General
dbfile0.00070.1073100.0001
String conversion0.00000.001040.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
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 5
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs