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

Criterion: "Common > Title or full text" in the search service

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Major Major
    • 1.1.7, 1.2.0
    • None
    • None
    • None

      How to reproduce

      • Modify the search service of the search page on the nightly demo
      • put the criterion : "Common > Title or full text"
      • go to preview
      • enter a keyword in the search bar

      The service does not show any results

          [SKININTRA-153] Criterion: "Common > Title or full text" in the search service

          The global search input should match the service configuration.
          By default the search input is "Full text" only.
          To use "Title or full text" you need to modify the input field in the skin. There a XSL variable for this

          <!-- +
                   | 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 - The global search input should match the service configuration. By default the search input is "Full text" only. To use "Title or full text" you need to modify the input field in the skin. There a XSL variable for this <!-- + | 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 >

            Unassigned Unassigned
            afrancois Anastasia François
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: