content fetch: add sort_by path_string

Author Message

Bruce Morrison

Monday 08 November 2004 5:14:45 pm

Currently with the content-fetch-list/tree functions you are able to sort by path. This uses the ezcontentobject_tree.path_string field. This field contains a node path (e.g. /1/2/47/53/56/)

It would be great to add sorting by the ezcontentobject_tree.path_identification_string field. The field contains a string path (e.g. users/administrator_users/administrator_user)

This is a pretty simple addition and would allow the retrieval of a alphabetical tree structure.

A patch for 3.4 can be found here http://ez.no/community/bug_reports/content_fetch_add_sort_by_path_string

Cheers
Bruce

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish

Marco Zinn

Monday 15 November 2004 1:46:03 pm

Thanks for the patch. Let's hope, that this will make it in 3.5 (hope, the feature-freeze is not this strict).
The node_path sorting usually is quite useless (for humans, at least).

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

Kåre Køhler Høvik

Wednesday 17 November 2004 6:38:08 am

Great idea, added it to trunk. Check enhancement update.

Kåre Høvik

Bruce Morrison

Wednesday 17 November 2004 2:16:45 pm

Many thanks

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.