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

Missing display-quick-filters attribute in nuxeo-data-table in nuxeo-results element generated by Studio

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.20.0
    • Fix Version/s: 3.22.0
    • Component/s: Studio Designer
    • Backlog priority:
      550
    • Sprint:
      NOS 11.1.20 - 2019-10 2, NOS 11.1.22 - 2019-11 2
    • Story Points:
      2

      Description

      The quick filters are correctrly displayed in tabs in a grid view, but not in a list view, due to a missing display-quick-filters="" attribute in the nuxeo-data-table element

      Code generated by Studio:

          <nuxeo-results name="mypp" nx-provider="[[nxProvider]]" selected-items="{{selectedItems}}">
            <nuxeo-data-grid name="grid" icon="nuxeo:view-thumbnails" class="results" empty-label="[[i18n('searchResults.noResults')]]" sort-label="[[i18n('searchResults.sort.label')]]" selection-enabled="" display-quick-filters="">
      [...]
            </nuxeo-data-grid>
            <nuxeo-data-table class="results" empty-label="[[i18n('searchResults.noResults')]]" on-row-clicked="_navigate" icon="nuxeo:view-list" name="table">
      

      Notice the display-quick-filters="" in nuxeo-data-grid, which is missing in nuxeo-data-table.

      Specifying display-quick-filters="" in nuxeo-data-table, then the quick filters appear.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 3 hours
                  3h