Forums / Developer / Sorting problems

Sorting problems

Author Message

K259

Tuesday 30 December 2003 8:37:31 pm

I've sorted my folders in the admin-part (sort by Name, and "update"), but they are only sorted in the admin-part and not in the frontend.

Anyone have a clue how I can correct this bug? I'm building a portal..and now every categori is just a mess, and not possible in sort in the frontend (templates and code from bookshop).

Happy new year!

Marco Zinn

Sunday 04 January 2004 6:53:43 am

Hi,
I didn't try the bookshop package, but that sounds like the (user) templates of the bookshop package ignore the sort key.
Some templates have a fixed sort order... can you find out, if this is true for the bookshop templates?

Marco
http://www.hyperroad-design.com

Finn David Nilsen

Sunday 04 January 2004 8:09:36 am

I had the some problem to. I sorted my folders by priority at the admin site, to get them sorted by name at the user site.

This is a possible "workaround".....

eZ debug

Timing: Jan 30 2025 23:12:08
Script start
Timing: Jan 30 2025 23:12:08
Module start 'content'
Timing: Jan 30 2025 23:12:08
Module end 'content'
Timing: Jan 30 2025 23:12:08
Script end

Main resources:

Total runtime0.0318 sec
Peak memory usage4,096.0000 KB
Database Queries4

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0070 588.0156370.3047
Module start 'content' 0.00700.0149 958.32031,001.4844
Module end 'content' 0.02190.0098 1,959.804770.7031
Script end 0.0318  2,030.5078 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00237.2042120.0002
Check MTime0.00103.1971120.0001
Mysql Total
Database connection0.00061.995310.0006
Mysqli_queries0.00299.243040.0007
Looping result0.00000.059220.0000
Template Total0.009429.610.0094
Template load0.00092.686910.0009
Template processing0.008626.875610.0086
Override
Cache load0.00061.823010.0006
General
dbfile0.006319.7965100.0006
String conversion0.00000.016530.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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