How are the filters in bug report in eZ implemented?

Author Message

liu spider

Wednesday 10 March 2004 8:25:23 pm

I noticed the urls of filters in http://www.ez.no/community/bug_reports is something like this
http://www.ez.no/community/bug_reports/(filter)/new

It is appreciated if anyone can tell me how this should be implemented in eZ publish 3.3. I have no idea: maybe a custom extension/template_operator?

http://liucougar.scim-im.org
SCIM Input Method Platform
http://scim.sf.net
SJSD Online Editor
http://sf.net/projects/sjsd

Carlos Souza

Saturday 13 March 2004 6:39:54 am

I would also like to know how to do this.
Is it filtering an ezenum value?
Could this functionality also be used to sort a result set by other attributes? Like 'sort by price'?

Thank you

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 00:59:33
Script start
Timing: Jan 19 2025 00:59:33
Module start 'layout'
Timing: Jan 19 2025 00:59:33
Module start 'content'
Timing: Jan 19 2025 00:59:33
Module end 'content'
Timing: Jan 19 2025 00:59:33
Script end

Main resources:

Total runtime0.5105 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0055 589.3047152.6406
Module start 'layout' 0.00550.0033 741.945339.4766
Module start 'content' 0.00880.5000 781.4219518.7031
Module end 'content' 0.50890.0016 1,300.12508.2813
Script end 0.5105  1,308.4063 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.7100160.0002
Check MTime0.00140.2735160.0001
Mysql Total
Database connection0.00070.135910.0007
Mysqli_queries0.468591.7681540.0087
Looping result0.00050.1052520.0000
Template Total0.483994.820.2419
Template load0.00240.472620.0012
Template processing0.481594.305920.2407
Template load and register function0.00020.037610.0002
states
state_id_array0.00030.059210.0003
state_identifier_array0.00130.249720.0006
Override
Cache load0.00190.3725120.0002
Sytem overhead
Fetch class attribute can translate value0.00050.101420.0003
Fetch class attribute name0.00090.170630.0003
XML
Image XML parsing0.00270.530720.0014
class_abstraction
Instantiating content class attribute0.00000.001130.0000
General
dbfile0.00280.5461160.0002
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/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/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: 9
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs