Forums / General / how can i search article by first letter ?

how can i search article by first letter ?

Author Message

Coulibaly Ibrahim

Monday 05 June 2006 2:06:29 am

Hi all
i want to fetch all articles beginning by a specified letter?
for exemple, return all article beginning with the letter 'a'.

thanks.

Kristof Coomans

Monday 05 June 2006 3:37:41 am

Hi

You can use the content/tree ( http://ez.no/doc/ez_publish/technical_manual/3_8/reference/modules/content/fetch_functions/tree ) or content/list ( http://ez.no/doc/ez_publish/technical_manual/3_8/reference/modules/content/fetch_functions/list ) fetch function, with the <i>like</i> filter operation ( http://ez.no/download/ez_publish/changelogs/ez_publish_3_6/new_features/enhanced_filters_for_content_list_content_tree ) on the name attribute.

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Damien Pobel

Monday 05 June 2006 9:50:18 am

I wonder why those filters are not mentionned on the documentation page even in the last documentation version !?!

Damien
Planet eZ Publish.fr : http://www.planet-ezpublish.fr
Certification : http://auth.ez.no/certification/verify/372448
Publications about eZ Publish : http://pwet.fr/tags/keywords/weblog/ez_publish

Coulibaly Ibrahim

Monday 05 June 2006 10:33:11 am

thanks kristof.