laurent le cadet
|
Friday 21 November 2003 1:28:54 am
Hi, Here's the first part of the the standard/templates/search.tpl :
{let search=false()}
{section show=$use_template_search}
{set page_limit=10}
{set search=fetch(content,search,
hash(text,$search_text,
section_id,$search_section_id,
subtree_array,$search_subtree_array,
sort_by,array('modified',false()),
offset,$view_parameters.offset,
limit,$page_limit))}
{set search_result=$search['SearchResult']}
{set search_count=$search['SearchCount']}
{set stop_word_array=$search['StopWordArray']}
{set search_data=$search} {/section} All the new operators seems to be very usefull but if I turn page_limit=10 to page_limit=15 for example, there is no difference. the only way I found to change this parameter is in search.php (line 47 : $pageLimit = 10;) I tryied to build a template base on this new operators (section_id, subtree_array, etc...) and it work fine. Is the problem, for the search engine come from the upgrade ? Laurent.
|