Uploaded image for project: 'Nuxeo Studio'
  1. Nuxeo Studio
  2. NXS-2154

Fix missing suggesters contribution for faceted-search when Fulltext built-in widget is defined within a Container

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 20
    • Fix Version/s: 21
    • Component/s: Layouts & Widgets

      Description

      When defining a content view to be used as a faceted search in Studio, a bug fix has been done in NXS-1784 to add the needed extension to make the quick search work properly.

      However the fix of NXS-1784 is not enough. When the built-in widget is defined within a container, it is not detected and the following contribution is not added in the extension.xml

      <extension target="org.nuxeo.ecm.platform.suggestbox.service.SuggestionService" point="suggesters">
          <suggester name="searchByKeywords" class="org.nuxeo.ecm.platform.suggestbox.service.suggesters.DocumentSearchByPropertySuggester">
            <parameters>
              <parameter name="label">label.searchDocumentsByKeyword</parameter>
              <parameter name="searchFields">fsd:ecm_fulltext, my_faceted_search_cv:system_fulltext</parameter>
              <parameter name="iconURL">/img/facetedSearch.png</parameter>
              <parameter name="description"></parameter>
              <parameter name="disabled">false</parameter>
            </parameters>
          </suggester>
        </extension>
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  PagerDuty