Uploaded image for project: 'Skin Intranet'
  1. Skin Intranet
  2. SKININTRA-187

Search engine with the option: "title or full text" criterion

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Major Major
    • 1.1.6, 1.2.0
    • 1.1.5
    • None
    • None
    • 4.6 RC1

      If we add the criterion "title or full text" in the search engine. From the search bar, the search page shows no results

        1. screenshot-1.png
          screenshot-1.png
          48 kB
        2. screenshot-2.png
          screenshot-2.png
          111 kB
        3. screenshot-3.png
          screenshot-3.png
          115 kB

          [SKININTRA-187] Search engine with the option: "title or full text" criterion

          It is a limitation of the skin, each skin should adapt to configuration of service.

          The search field should match exactly the search service criteria. By default it is the " Texte intégral" search criteria.

          To use "Titre ou texte intégral" a variable should be changed in skin (search.xsl file). It is documented in this file

          <!-- +
                   | Name of global search text field :
                   | * use "user.input.criterion.common$wording$textfield$1" if global search service if configured with "Full text" criteria
                   | * use "user.input.criterion.common$titleorwording$textfield$1" if global search service if configured with "Title or full text" criteria
                   + -->
              <xsl:variable name="searchInputName">user.input.criterion.common$wording$textfield$1</xsl:variable>
          

          Laurence Aumeunier added a comment - It is a limitation of the skin, each skin should adapt to configuration of service. The search field should match exactly the search service criteria. By default it is the " Texte intégral" search criteria. To use "Titre ou texte intégral" a variable should be changed in skin (search.xsl file). It is documented in this file <!-- + | Name of global search text field : | * use "user.input.criterion.common$wording$textfield$1" if global search service if configured with "Full text" criteria | * use "user.input.criterion.common$titleorwording$textfield$1" if global search service if configured with "Title or full text" criteria + --> < xsl:variable name= "searchInputName" > user.input.criterion.common$wording$textfield$1 </ xsl:variable >

            laurence Laurence Aumeunier
            afrancois Anastasia François
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: