Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-14457

Allow including Main.Search and Main.SolrSearch in other pages

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • None
    • 8.4
    • Search - Solr
    • None
    • Unknown

    Description

      Right now there are two problems if you try to use {{include reference="Main.Search"/}}:

      • It'll display not only the form but also the search results on the including page. IMO it should only display the form.
      • It'll prevent the page from being editable.

      Note that for the first problem the user could write instead:

      {{velocity}}
      {{include reference="Main.SolrSearchConfig" /}}
      
      {{include reference="Main.SolrSearchMacros" /}}
      
      #displaySearchUI()
      {{/velocity}}
      

      However that's more technical and we know users will try to include "Main.Search" anwyay, see XWIKI-14388

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              vmassol Vincent Massol
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: