Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-20749

Documentation: Better documentation for SearchViewHandling

    XMLWordPrintable

Details

    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}
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            eduardo.fernandes-obsolete@ez.no Eduardo Fernandes (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 hours
                3h