Sorting not working - ignores parameters

Sorting not working - ignores parameters

Wednesday 12 January 2011 1:07:34 am - 1 reply

Author Message

Ivan Švogor

Wednesday 12 January 2011 2:46:53 am

Yeah... ask question first, find out later :)

so here is the solution... Something is wrong with old search, so it is better to use ezfind's fetch function:

{def $search=fetch( 'ezfind', 'search',
                    hash( 'text', array('Homepage'),
                          'sort_by', hash(published, desc),
                          'class_id', 63, 
                          'class_attribute_id', 471, 
                          'limit', $limit,
                          'offset', $offset ))}

You must be logged in to post messages in this topic!

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