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

Fix advanced search customizing

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.9
    • Fix Version/s: 2.1
    • Component/s: Documents

      Description

      When customizing the advanced search, a contribution to the extension point "contentViews" is generated to overwrite the default one. The problem is that it's not using the proper document type: "advanced_search" instead of "AdvancedSearch"

        <extension target="org.nuxeo.ecm.platform.ui.web.ContentViewService" point="contentViews">
          <contentView name="advanced_search">
            <coreQueryPageProvider>
              <property name="coreSession">#{documentManager}</property>
              <whereClause docType="advanced_search">
      

      Should be:

        <extension target="org.nuxeo.ecm.platform.ui.web.ContentViewService" point="contentViews">
          <contentView name="advanced_search">
            <coreQueryPageProvider>
              <property name="coreSession">#{documentManager}</property>
              <whereClause docType="AdvancedSearch">
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: