Thursday 07 October 2004 1:47:48 am
Hi there, Am seeing something strange with fetches and limits - seems that if you specify a limit of '0' it is interpreted as no limit at all. I am using Paul B's contrib from http://ez.no/community/contributions/hacks/more_attribute_filter_operators_and_fetch_by_owner_id but have tested it on normal fetch and seems to replicate same result. So, for instance - in folder.tpl, if you change 'page_limit=10' to 'page_limit=1' you get 1 result returned. If its changed to 'page_limit=0' you get full list of results returned rather than none. The reason I need to achieve this is so this will work: http://www.ez.no/community/forum/setup_design/advanced_search_development_homemade_fuzzy_logic/re_advanced_search_development_homemade_fuzzy_logic__17 Is it not possible to have a zero page limit return zero results? Thanks, Steve.
http://www.oneworldmarket.co.uk
|