Forums / Developer / Sort/grouping eZ search results

Sort/grouping eZ search results

Author Message

K259

Tuesday 06 December 2005 1:25:42 pm

Hi!
The content from the $SearchResult: I need to sort this instead of listing av mix of folders, articles etc.

What I want to do is: to have a topic called Misc: here shall all the folders be listed, and I want to have a topic called News: where all the news/articles shall be listed.

The design-template for this looks like:

{section name=SearchResult loop=$search_result show=$search_result}
{$SearchResult:item.name|wash}
....

Is it possible to only list Results from a class_id,'folder_id' here, and add another section beneath which only lists Results from class_id article?