Uploaded image for project: 'Nuxeo Elements'
  1. Nuxeo Elements
  2. ELEMENTS-564

nuxeo-filter path property is not working properly

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: UI

      Description

      Using Studio for adding left menu entries, I have the following slots contribution:

      <!-- Contribution of element 'nuxeo-menu-icon' for slot 'DRAWER_ITEMS' -->
      <nuxeo-slot-content name="Search_BestInClass" slot="DRAWER_ITEMS" order="2" >
        <template>
          <nuxeo-filter document="[[document]]" path="/bestinclass" user="[[user]]">
            <template>
              <nuxeo-menu-icon label="Search BIC" name="search_bestinclass" icon="icons:search"></nuxeo-menu-icon>
            </template>
          </nuxeo-filter>
        </template>
      </nuxeo-slot-content>
      <!-- Contribution of element 'nuxeo-search-form' for slot 'DRAWER_PAGES' -->
      <nuxeo-slot-content name="Search_BestInClass" slot="DRAWER_PAGES" >
        <template>
          <nuxeo-filter document="[[document]]" path="/bestinclass" user="[[user]]">
            <template>
              <nuxeo-search-form provider="PP_BestInClass" schemas="dublincore" search-name="pp_bestinclass" name="search_bestinclass" page-size="40" selected-search-idx="0"></nuxeo-search-form>
            </template>
          </nuxeo-filter>
        </template>
      </nuxeo-slot-content>
      

      When browsing content under a domain named "bestinclass", my left menu entry is never shown.
      Removing the filter option, or making it based on a group for instance, is working fine: only the path is not working properly

      Note: even with `default-domain`, this was not working.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jroussel Jordann Roussel
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: