Details
-
Bug
-
Resolution: Fixed
-
Medium
-
4.7.0
Description
Please update the documentation of the SearchViewHandling page.
I think it's not clear that the setting changes the value of $use_template_search allowing the use of the local search fetch. Otherwise the search view will be used and the search template will only display the results. Please check the SearchSettings\SearchViewHandling definition of the site.ini file.
{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}