Forums / Developer / eZsearch - sort by in fetch
K259
Sunday 20 November 2005 8:47:23 am
I need to get articles and folders first in the ezsearch-result, and also group the search-results.
Does anyone know how I can fix this in the ezsearch?
Ćukasz Serwatka
Tuesday 29 November 2005 6:30:28 am
Use sort_by parameter for result sorting.http://ez.no/doc/ez_publish/technical_manual/3_6/reference/modules/content/fetch_functions/search
If you want to group results, you will have do to this during loop, create new array. Look on "append" tpl operator.
Personal website -> http://serwatka.net Blog (about eZ Publish) -> http://serwatka.net/blog