-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 3.20.0
-
Fix Version/s: 3.22.0
-
Component/s: Studio Designer
-
Tags:
-
Backlog priority:550
-
Sprint:NOS 11.1.20 - 2019-10 2, NOS 11.1.22 - 2019-11 2
-
Story Points:2
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.