Forums / Setup & design / How to sort by author with 3.3-5

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

How to sort by author with 3.3-5

Author Message

Ralf Lohmann

Monday 10 May 2004 4:26:19 am

I need some help, please.
We?ve updated Exponential from 3.3-3 to 3.3-5 cause we wan?t to sort by author. Is there anybody, who knows how to do this? We know how to sort by an attribute filter with the following code. Here we sort by a textstring (frabo/username -class/attribute-).

{let user=fetch( 'user', 'current_user' )}
{section loop=fetch( 'content', 'list', hash( parent_node_id, 47 , attribute_filter, array( array( 'frabo/username', '=', $user.contentobject.name ) ) ) ) }
<a href={$:item.url_alias|ezurl} class="gruenb">{$:item.name}{node_view_gui view=line $Child:item} </a>
{/section}
{/let}

iddis GmbH
Gesellschaft für geteiltes Wissen
Society for shared knowledge
Falkstr. 73-77
47058 Duisburg
Germany